Search found 958 matches

by Scott Klement
Tue Dec 09, 2025 7:11 pm
Forum: YAJL-ILE
Topic: Where is YAJLINTO_H?
Replies: 2
Views: 8112

Re: Where is YAJLINTO_H?

I've not heard of YAJLINTO_H before.

YAJLINTO is a *PGM (not a service program) and is called via the DATA-INTO opcode. You do not need a copybook to use it.
by Scott Klement
Tue Dec 09, 2025 2:17 pm
Forum: HSSFR4
Topic: XLSXGEN program in endless loop
Replies: 2
Views: 6174

Re: XLSXGEN program in endless loop

Back in the 1970s and 1980s, *PSSR was very difficult to use because if an error occurs inside PSSR, it calls the same PSSR again, creating a loop, so you have to be very careful in your code.

In your case, you tried to prevent PSSR from running multiple times by doing "if pssrInd = *on"... the ...
by Scott Klement
Tue Dec 09, 2025 2:05 pm
Forum: RPG IV
Topic: Question about XML-SAX and option ccsid=ucs2
Replies: 1
Views: 6508

Re: Question about XML-SAX and option ccsid=ucs2

no... *XML_UCS2_REF and *XML_ATTR_UCS2_REF are always in UCS-2, it doesn't matter what you specify for the ccsid option. These are for references in the document, such as &#263a; because they are specified in unicode, whenever one appears, it must always be returned to you in unicode, it doesn't ...
by Scott Klement
Sat Dec 06, 2025 6:45 am
Forum: FTPAPI
Topic: Anyone tried these FTP APIs to download CSV file from PC to IFS?
Replies: 1
Views: 16872

Re: Anyone tried these FTP APIs to download CSV file from PC to IFS?

Are you certain you want to use FTP for that? I'm very skeptical of that approach.

FTP is not a secure protocol, and you're discussing installing an FTP server on a PC... seems like a bad idea.
by Scott Klement
Sat Dec 06, 2025 6:44 am
Forum: Other ScottKlement.com Tools
Topic: PRTSTMFR4
Replies: 2
Views: 19954

Re: PRTSTMFR4

IIRC, there's an OVRPRTF coded inside the code for PRTSTMF, you'd have to edit the code and recompile it to get something like a drawer.
by Scott Klement
Sat Dec 06, 2025 6:43 am
Forum: HTTPAPI
Topic: HTTPAPI and http_parse_xml_stmf error
Replies: 6
Views: 43214

Re: HTTPAPI and http_parse_xml_stmf error

Yes, with SQL functions or (my choice would be) XML-INTO/XML-SAX.

The XML stuff in HTTPAPI is from back before IBM added any of that stuff into the operating system, though its been used all over the world in thousands of applications, and I've never heard of it failing sporadically.
by Scott Klement
Sat Nov 29, 2025 12:34 am
Forum: General
Topic: Help to get data from storage.googleapis.com
Replies: 7
Views: 54152

Re: Help to get data from storage.googleapis.com

manga63 wrote: Thu Nov 27, 2025 10:10 am My customer can't upgrade from 7.2 to 7.3
Any Idea??
Don't use the systools http routines... use HTTPAPI, this is the website for HTTPAPI, after all.
by Scott Klement
Sat Nov 29, 2025 12:32 am
Forum: General
Topic: how to send a message to external syslog
Replies: 3
Views: 17922

Re: how to send a message to external syslog

5733SC1 is openssl, isn't it? What does that have to do with syslog??
by Scott Klement
Sat Nov 29, 2025 12:30 am
Forum: HTTPAPI
Topic: HTTPAPI and http_parse_xml_stmf error
Replies: 6
Views: 43214

Re: HTTPAPI and http_parse_xml_stmf error

The first 2 bytes of the value are x'8000', which means the length is 32768, since the parameter is defined as 32767, you are getting the error.

You talk like the error is sporadic, but... doesn't it happen consistently with certain XML documents? If you do the same document again, you don't get ...
by Scott Klement
Thu Nov 27, 2025 12:24 am
Forum: General
Topic: how to send a message to external syslog
Replies: 3
Views: 17922

Re: how to send a message to external syslog

I assume there are utilities for logging things to syslog from within PASE. Why not use one of those?

that said, I haven't tried it. I have never had a reason to write to syslog from IBM i.