Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
Getting the joblog using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Getting the joblog using REXX
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: 2360
Location: Israel

PostPosted: Thu Feb 14, 2008 2:48 pm    Post subject:
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    Post subject: Reply to: Getting the joblog using REXX
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 14, 2008 3:13 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Default Message in Rexx cvnlynn CLIST & REXX 9 Wed Aug 02, 2017 12:38 am
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us