|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by BoltonWanderer in RPG Programming Language, Main-Frame Programming Languages
Hi All
First of all many thanks in advance, I am a relative newbie to RPG and I need a little help if you can?
I need to write a program that cycles down an input file that has two fields:
RECID (8N),PODID (20N)
For each record in the INPUT file, it needs to read RECID chain off to a logical file called "ORDERS" on ORD40 (8N)and update a FIELD called POD40 (20N) with the data that is in PODID.
I dont have a logical file created on the input file as it is just file that comes from an external system. I can make sure that all the programs are in the same Library.
Anyone got a sample program or structure I can use to do this?
Eventually I need to make sure this runs every hour.
Cheers
BoltonWanderer
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625