Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8666
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 Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us