|
Thanks Dick. Bill -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of dickjaz@xxxxxxx Sent: Friday, September 22, 2006 4:14 PM To: rpg400-l@xxxxxxxxxxxx Subject: re: RPG II Remember that the communication between an RPG II program and the workstation file is just passing a buffer of data. You parse the data in the "I" spec. and O spec. of the RPG II program. That said, to design the workstation file record (S/D spec.s) you layout the fields across the first line with SDA. Next, you would use SEU to copy each column to it's respective row location thus forming an array for that column (you can not use the comma on the D spec.). There is a limit to the number of fields that you can send with an "unordered" load but if you are careful with your design you should be okay. Then, you simply read (I spec.s) and write (O specs) the arrays between the program and the workstation file. Oh yeah, you can edit each array as required and not have to mess with the individual elements on out-put. Man, that was brain strain! Dick J (AZ)
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.