This still works. I would say, now I have a program, that can return binary data of files from IFS.
When I now use this program in IWS I'm getting a PDF-File, but in hex this looks like the unreadable data I saw in debug.
The documentation of IWS says: "Data received from the web service implementation code is assumed to be in the CCSID that is specified." As far as I understand, this means, that I have to send the data in 1141, because this is the CCSID, the WebService is actually running with. Is this correct? Can this be done with sqltype BLOB?
Greetings Jens
-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von Ottersberg, Jens
Gesendet: Freitag, 5. Juli 2019 16:39
An: rpg400-l@xxxxxxxxxxxxxxxxxx
Betreff: Sending File via IWS WebService with RPG
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.