IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Don't display the message "Job Submitted"


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kranthikumarb

Active User


Joined: 02 Jan 2009
Posts: 115
Location: Hyderabad

PostPosted: Thu Aug 08, 2013 8:59 pm
Reply with quote

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.

Appreciate any help on this.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Aug 08, 2013 9:34 pm
Reply with quote

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.
Back to top
View user's profile Send private message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Thu Aug 08, 2013 9:45 pm
Reply with quote

The below post should help you.

http://ibmmainframes.com/about41923.html
Back to top
View user's profile Send private message
kranthikumarb

Active User


Joined: 02 Jan 2009
Posts: 115
Location: Hyderabad

PostPosted: Thu Aug 08, 2013 10:04 pm
Reply with quote

Perfect! Thanks Mariraj & Superk

That was exactly what I was hoping for.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts XML Parsing in COBOL creating "h... COBOL Programming 0
No new posts Unable to display comp variable COBOL Programming 4
No new posts Read 4MB message and split into multi... COBOL Programming 9
No new posts How do i verify the char field is hav... PL/I & Assembler 1
Search our Forums:

Back to Top