Hi BoltonWanderer,
Why creating an RPG if you also can do it with SQL on the as/400?
UPDATE ORDERS SET POD40 =
(SELECT PODID FROM INPUTfile WHERE PODID = POD40)
On this moment I'm between 2 jobs and can not use an AS400 to check so Please forgeve me if I made a syntax error.
This update statement can be included in a Query Manager Query source and included in a CL.
to run it every 30 minutes, you can scedule this cl every 30 minutes or include a delay of 1800 seconds.
Even better is to schedule the job once and change the sceduled job at the end of your CL with CHGJOBSCDE to set the new scheduled time.
Regards,
Murph
Main Topics
Browse All Topics





by: tliottaPosted on 2009-04-06 at 17:43:17ID: 24083137
BoltonWanderer:
Any chance of a hint about what RPG you'll be using and which platform (operating system version/release)? You use the term "logical file", so I'd guess that it's somewhere in the AS/400 line. But even that term is a little generic.
Tom