If you mean has anything changed with XML-SAX that would help with this the answer is no - nothing I can think of.
Only thing I can think of is to do a scan/replace operation. But that will take time so If the failure is infrequent, better to trap the error and run the scan/replace before a retry.
Search found 239 matches
- Tue Mar 25, 2025 4:02 pm
- Forum: RPG IV
- Topic: XML-SAX failed with error code 6
- Replies: 2
- Views: 5822
- Thu Mar 20, 2025 4:09 pm
- Forum: General
- Topic: retrive qtemp files from a batch job ?
- Replies: 2
- Views: 14596
Re: retrive qtemp files from a batch job ?
Are you the person who posted this on FB? I answered it there.
And you’re being rather impatient - bouncing the question after 3 minutes is a bit fast!
And you’re being rather impatient - bouncing the question after 3 minutes is a bit fast!
- Mon Mar 17, 2025 8:20 pm
- Forum: RPG IV
- Topic: BASE64 Decode and Blanks
- Replies: 2
- Views: 14846
Re: BASE64 Decode and Blanks
Looks to me as if
Should be
Without that you are writing the varlen's length as part of the data and it is probably translating as blanks.
P.S. Why are you bothering to code CallP? It is not needed.
Code: Select all
callp write(fd: %addr(pdfout): PDFLEN);
Code: Select all
callp write(fd: %addr( pdfout : *Data ): PDFLEN);
P.S. Why are you bothering to code CallP? It is not needed.
- Wed Feb 05, 2025 10:28 pm
- Forum: General
- Topic: PASE - Open Sorce
- Replies: 1
- Views: 6619
Re: PASE - Open Sorce
Personally I think new development should be done with the best tool for the job. I don't favor simply switching to the "flavor of the month" particularly when new developments are often extensions of existing applications. RPG has hung around for all these years for a reason - it is great...
- Wed Feb 05, 2025 4:11 pm
- Forum: General
- Topic: ASCII Template PF used to print a form with logos on plain paper
- Replies: 4
- Views: 11543
Re: ASCII Template PF used to print a form with logos on plain paper
I'm guessing that PRTASCII is part of a third party product as I see no sign of it in any IBM docs and I have never heard of it.
What library is that command in?
What library is that command in?
- Tue Feb 04, 2025 9:55 pm
- Forum: HTTPAPI
- Topic: OAUTH2 POST getting 404 error
- Replies: 3
- Views: 15301
Re: OAUTH2 POST getting 404 error
Good. I was going to ask if you were using the original oauth as all the URLs I have seen so far for oauth2 had a "2" in the URL.
- Tue Feb 04, 2025 4:44 pm
- Forum: HTTPAPI
- Topic: OAUTH2 POST getting 404 error
- Replies: 3
- Views: 15301
Re: OAUTH2 POST getting 404 error
Are you sure that the URLs that you posted are correct? When I try those URLs in postman I get a 404 every time.
- Mon Feb 03, 2025 11:12 pm
- Forum: YAJL-ILE
- Topic: DATA-INTO Error
- Replies: 2
- Views: 23115
Re: DATA-INTO Error
You need to add 'case=any' as an option. Like so: data-into authResult %DATA(resultStr : 'Case=any') %PARSER('YAJL/YAJLINTO'); You have to tell RPG to convert the case of the elements in the JSON before it attempts to match them to the RPG fields. RPG upper-cases all variable names so right now it i...
- Thu Jan 30, 2025 11:57 pm
- Forum: General
- Topic: Help calling QDCXLATE from itoolkit
- Replies: 4
- Views: 12895
Re: Help calling QDCXLATE from itoolkit
Why not use the node toolkit? https://www.npmjs.com/package/itoolkit
That should let you call it as you do now.
If you can't get that to work, I suggest asking the authors of the package.
That should let you call it as you do now.
If you can't get that to work, I suggest asking the authors of the package.
- Thu Jan 30, 2025 5:39 pm
- Forum: General
- Topic: Help calling QDCXLATE from itoolkit
- Replies: 4
- Views: 12895
Re: Help calling QDCXLATE from itoolkit
I'm confused - is the data in hex format (2 bytes per character) or simply in ASCII and you need it in EBCDIC?
iconv has been available for a long time and google will find you many examples. Even if you have an AS400 - which I doubt as they are _really_ old - it should be available.
iconv has been available for a long time and google will find you many examples. Even if you have an AS400 - which I doubt as they are _really_ old - it should be available.