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

Difference Between Source Physical File & Physical File?

1068


How can we update a specific field in RPG?

1348


what is a program described file in rpg?

1731


how can I control from my cgis the cache of a remote browser?

1159


using dfu, user will be able to ___________ from physical file?

981


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

1124


what is the purpose of putovr (put with explicit override) keyword?

1642


how do you know that records are locked?

1942


what is sflpag and sflsiz ?

3418


a multiple format logical file is also known as?

1075


define a shared access path?

1741


define the purpose of the %sst function?

1640


Can we debug the MSGW JOBS?

1323


what is procedure prototype and procedure interface.

1211


what is the difference between sflclr and sflinz?

1759