I am getting ready to convert a rather large RPG APPC program over to
TCP/IP sockets. The IP part is a piece of cake.
However, the record formats are not.
In browsing thru the RPG/400 manual, I tripped across special files
and they look very interesting. It looks like I can create a
transaction program in ILE/C that will receive the RPG writes & reads
and then respond accordingly.
Eg: When the file is "Opened", I can connect to my IP server.
When a WRITE is done, send the data to the server. When a READ is
done, read the data.
I will have to use some user defined parms so the transaction pgm
knows what record format name is being used, but it does look very
appealing. And would require very little work on the existing RPG
program.
Anybody used SPECIAL files? Any "Gotcha's"? A better way to do this
conversion?
Regards,
Bob Crothers
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---