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

Getting the joblog using REXX


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

New User


Joined: 15 Jun 2007
Posts: 5
Location: india

PostPosted: Thu Feb 14, 2008 2:46 pm
Reply with quote

I want to take the joblog of a particular job by providing the jonname and the jobid.

The below code works only when my jobname is same as my userID.
Can anyone provide me a solution,so that it works for all jobnames.

ADDRESS TSO "OUTPUT "JOBNAME"("JOBID")",
"PRINT('U151774.REXX.PS') KEEP HOLD"
"ALLOC DA('U151774.REXX.PS') F(TEMP) SHR REUSE"
"EXECIO * DISKR TEMP(STEM JOBLOG."
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 14, 2008 2:48 pm
Reply with quote

Look for "batch SDSF" in this forum. There are some good examples.

O.
Back to top
View user's profile Send private message
sayandutt
Currently Banned

New User


Joined: 15 Jun 2007
Posts: 5
Location: india

PostPosted: Thu Feb 14, 2008 2:51 pm
Reply with quote

If U can kindly provide me a code for it, then it would be great.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Feb 14, 2008 3:08 pm
Reply with quote

as great is the search facility in this forum.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Feb 14, 2008 3:13 pm
Reply with quote

Quote:
If U can kindly provide me a code for it, then it would be great.

Straight after you provide me with 500 euro.
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