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
How to convert a spool file to PDF file in AS400?
how many levels are there in a physical file?
records can be read/update/deleted with which file?
What is the Difference between command attention key and command function key ?
how to toggle between single line and multi - line display of a particular record in a subfile?
WHAT IS AS/400 SYNORIO?
Can level check error occur if we do chgpf?
how can you execute a command from within an rpg program without calling a clp program?
how do you know that records are locked?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
what are the various types of device files?
can we define multi-dimensional arrays in rpg ?
when would you prefer logical file than opnqryf?
Write a logic program for knowing the repeated number of a vowels in a given program?
what is externally described file ?