Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to convert a spool file to PDF file in AS400?

1246


how many levels are there in a physical file?

1793


records can be read/update/deleted with which file?

1079


What is the Difference between command attention key and command function key ?

1376


how to toggle between single line and multi - line display of a particular record in a subfile?

1794


WHAT IS AS/400 SYNORIO?

3358


Can level check error occur if we do chgpf?

1254


how can you execute a command from within an rpg program without calling a clp program?

2007


how do you know that records are locked?

1957


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..?

1919


what are the various types of device files?

1683


can we define multi-dimensional arrays in rpg ?

1646


when would you prefer logical file than opnqryf?

2445


Write a logic program for knowing the repeated number of a vowels in a given program?

3746


what is externally described file ?

1655