Search found 963 matches

by Scott Klement
Thu Jan 15, 2026 9:29 am
Forum: FTPAPI
Topic: FTP_exitProc
Replies: 3
Views: 39193

Re: FTP_exitProc

The FTP_EXTSTS expects parameters the same as (or at least compatible with) this:


D StatusProc PR
D peBytes 16P 0 value
D peTotBytes 16P 0 value
D peExtra * value


You are passing %paddr(Logger), and logger's parameters aren't compatible, so you will be guaranteed to get pointer errors.
by Scott Klement
Wed Dec 31, 2025 8:29 am
Forum: FTPAPI
Topic: FTP_exitProc
Replies: 3
Views: 39193

Re: FTP_exitProc

we need to see your code to fully understand what you are describing.
by Scott Klement
Tue Dec 23, 2025 11:12 pm
Forum: HTTPAPI
Topic: Inquiry on Software Compatibility with IBM i V7R5
Replies: 2
Views: 47826

Re: Inquiry on Software Compatibility with IBM i V7R5

HTTPAPI is compatible with V7R1 and newer, so yes. The current version is 1.52, and I do recommend updating to this when you are able to.
by Scott Klement
Tue Dec 23, 2025 11:10 pm
Forum: HTTPAPI
Topic: MaxReceivedMessageSize parameter
Replies: 1
Views: 30941

Re: MaxReceivedMessageSize parameter

MaxReceivedMessageSize is typically a feature of Microsoft web services.

As such, your question doesn't make a lot of sense.
by Scott Klement
Tue Dec 23, 2025 11:06 pm
Forum: RPG IV
Topic: Question about XML-SAX and option ccsid=ucs2
Replies: 3
Views: 74951

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

I don't really understand the question, sorry.
by Scott Klement
Tue Dec 09, 2025 7:11 pm
Forum: YAJL-ILE
Topic: Where is YAJLINTO_H?
Replies: 2
Views: 66140

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: 41265

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: 3
Views: 74951

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: 64497

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: 90731

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.