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
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


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