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

How to read SYSOUT after submitting the job from REXX


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

New User


Joined: 11 Aug 2005
Posts: 4

PostPosted: Thu Aug 16, 2007 11:17 am
Reply with quote

Hi guys,

I have a query reg.,

I submit the job from REXX using command,
ADDRESS TSO "SUBMIT '"JCLJOB"'"

If I'm using the refernce of RC, it is giving the return code of the rexx rather than the job that got submitted.
Can you please tell me how to get the RC of the submitted JCLJOB and to read the SYSOUT after that if RC<>0. Thanks in advance!!!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Aug 16, 2007 1:00 pm
Reply with quote

You will need to read the sysout of the submitted job to determine the RC from the submitted job.

Search the forums for SDSF
Back to top
View user's profile Send private message
veselvar

New User


Joined: 11 Aug 2005
Posts: 4

PostPosted: Thu Aug 16, 2007 3:59 pm
Reply with quote

Hi Thanks...

Is there any example you can give me...
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top