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
 

 

How to XDC joblog to PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
jackzhang75

Active User


Joined: 09 Jun 2014
Posts: 106
Location: windsor

PostPosted: Tue Jul 15, 2014 12:59 am    Post subject: How to XDC joblog to PDS
Reply with quote

Hi ,

I want to XDC JOBLOG to PDS using REXX, i know there is way REXX interact with SDSF , somthing like ,

"TOKEN('"TOKEN.ix"') PARM(NP" action_option")"


But i tried , it not working, Anyone did the same thing before , can you me a sample that would be really helpful . Appreicated !
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Tue Jul 15, 2014 5:52 am    Post subject: Reply to: How to XDC joblog to PDS ???????? Thanks
Reply with quote

Quote:
it not working,

Can you provide a short code segment so we can see what you are doing?

And can you provide more problem determination information besides 'not working'?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Tue Jul 15, 2014 5:56 am    Post subject: Reply to: How to XDC joblog to PDS ???????? Thanks
Reply with quote

Look at the 'printing output' section of chapter 13, "Using SDSF with the REXX programming language" of the "SDSF Operation and Customization" manual.
Back to top
View user's profile Send private message
Paul Voyner

New User


Joined: 26 Nov 2012
Posts: 51
Location: Switz

PostPosted: Tue Jul 15, 2014 12:20 pm    Post subject:
Reply with quote

What Pedro said. You can also do it with XFC to a preallocated file, which might be easier. But since the book has a section called "Examples of printing" you can work this stuff out for yourself.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 642
Location: Whitby, ON, Canada

PostPosted: Tue Jul 15, 2014 6:11 pm    Post subject:
Reply with quote

I posted a solution some time ago. Search the forum for ISFEXEC (there are only two threads).

Ah, what the heck. I will post it again:
Code:
/* Rexx program to copy job output from SDSF to a PDS  */       
/* Demonstration only:  not for real use               */       
/*                                                     */       
ISFrc = isfcalls("ON")                                           
isfprefix = "*"                                                 
isfowner  = "your userid "                                           
address SDSF "isfexec st (delayed"                               
ISFPRTDSNAME = "'any suitable PDS'"                     
ISFPRTDISP   = "SHR"                                             
do i = 1 to isfrows                                             
   ISFPRTMEMBER = jobid.i                                       
   say "Adding: " ISFPRTMEMBER                                   
   address sdsf "isfact st token('"token.i"') PARM(NP XDC)"     
   say isfmsg                                                   
end                                                             
ISFrc = isfcalls("OFF")                                         
exit 
Back to top
View user's profile Send private message
jackzhang75

Active User


Joined: 09 Jun 2014
Posts: 106
Location: windsor

PostPosted: Thu Jul 17, 2014 2:09 am    Post subject: Answer
Reply with quote

Thanks for you code , it works perfect !!!
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 WAFTBL - in JOBLOG Paraneetharan M JCL & VSAM 3 Wed Aug 17, 2011 4:08 pm
No new posts Capturing the joblog with filter as u... enrico-sorichetti CLIST & REXX 12 Tue Jun 14, 2011 1:25 pm
No new posts Capture Joblog into PS Using REXX satish.ms10 CLIST & REXX 8 Wed Dec 01, 2010 2:21 pm
No new posts REXX tool to Search Joblog for a para... THINKSRINIII CLIST & REXX 1 Thu Mar 26, 2009 1:29 pm
No new posts JOB to clean JOBLOG. genesis786 CA Products 10 Thu Nov 27, 2008 3:28 pm


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