On Tuesday, January 12, 1999, 05:28 AM, Jeff Importico wrote: I was curious if there is anyone who has used the RQSDTA parameter on the SBMJOB command. Can it be used to auto call to another program when the SBMJOB is complete? Or will it call the second job as soon as the first is actually submitted?
Hmmm scratching grizzled beard and squinting. Back when I was a young whippersnapper, RQSDTA was the (only) way to specify which command to execute. Nowadays, of course, they have that newfangled CMD keyword, which will actually allow prompting and such, but the old RQSDTA can still be used in a pinch. Seriously, though, RQSDTA tells the machine which program to run. The default is now *CMD, meaning use the contents of the CMD parameter. If not, you use the RQSDTA paramter. In fact, according to IBM:
Command to run (CMD) Specifies a command that runs in the batch job, if the routing program used when this batch job is initiated is the IBM-supplied default routing program (QCMD). Because this command is used for the request data, this parameter is mutually exclusive with the Request data or command prompt (RQSDTA parameter). So EITHER the CMD is run or the RQSDTA is run, not both. Joe