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
what is the disadvantage of using global variable?
what is overlay?
what are the limitations of cl (compare to rpg) ?
In RPG How to read a records from a file without using read opcodes?
Using %check we are checking monika in mona what is output? What is %SCAN?
define the purpose of the %sst function?
how do you use exceptional write in c specs?
a multiple format logical file is also known as?
define subsystem?
What is the difference between physical file and logical file?
how to develop some simple graphs (bar charts) using just html?
What is the maximum number of subfiles that can be specified in a display file?
when would you use or not use this approach?
What is the difference between non-join logical files and join logical files?
define what a data queue is along with a brief example of what it may be used for?