Joined: 02 Jan 2009 Posts: 115 Location: Hyderabad
Hi,
I have written a rexx exec that submits a job in batch using this command.
ADDRESS TSO SUBMIT "pds.pds1.pds2(member)'"
as soon as the job is submitted, it gives me the usual message, "Job submitted". Is there a way to avoid this message? I mean is there a way that the job is submitted in background with out any notification like this.
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
Don't use the TSO SUBMIT command. How about queueing up the JCL and writing it directly to the JES Internal Reader, the same way you would in any other language or from a batch process.
Although, now that I think about it, since SUBMIT is a TSO command, I believe you can use an Outtrap to intercept the message.