I have to execute 12000 CL Commands one by one..
So, I have created a file called COMMAND.
This file has only 1 field called STRING.
This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc)
I have written a CL which will read all the record and do sbmjob..
But it is not working...
Plz help me to exexute all these 12000 commands..
Answer Posted / alok.yee001
Use QCMDEXC command to execute the string from file.
Pass the string from file to QCMDEXC command.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Difference Between Source Physical File & Physical File?
How can we update a specific field in RPG?
what is a program described file in rpg?
how can I control from my cgis the cache of a remote browser?
using dfu, user will be able to ___________ from physical file?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
what is the purpose of putovr (put with explicit override) keyword?
how do you know that records are locked?
what is sflpag and sflsiz ?
a multiple format logical file is also known as?
define a shared access path?
define the purpose of the %sst function?
Can we debug the MSGW JOBS?
what is procedure prototype and procedure interface.
what is the difference between sflclr and sflinz?