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 copy the SYSOUT data in to flat file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
sashi

New User


Joined: 14 Sep 2005
Posts: 54
Location: Chennai

PostPosted: Wed Jul 23, 2008 9:16 pm    Post subject: How to copy the SYSOUT data in to flat file.
Reply with quote

Hi All,

I compiled one program successfully and what i need is to copy the all the compile listing into one PS file.
how can I do it??

please help me on this issue.

Thanks in Adv...
Sashi
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jul 23, 2008 9:34 pm    Post subject:
Reply with quote

Hello,

While looking at the output in sdsf, you could enter XDC next to the job which will copy the sysout to a dataset. (See Bill's more complete info below).
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Jul 23, 2008 11:47 pm    Post subject:
Reply with quote

To clarify, the XDC command goes in the NP column next to the job, not on the Command Input ==> line.

If you want just the listing, first do a ? next to the job to see separate sysouts.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 24, 2008 12:37 am    Post subject: Reply to: How to copy the SYSOUT data in to flat file.
Reply with quote

Hi Bill,

Thanks for the correction - fingers got ahead of brain. . . icon_redface.gif

I patched up the original. .

d
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Thu Jul 24, 2008 1:40 am    Post subject: Reply to: How to copy the SYSOUT data in to flat file.
Reply with quote

My compile job has a step to copy the compiler listing to a member of a PDS. That way, you know that the dataset is current. Otherwise, you may forget to copy some programs.
Back to top
View user's profile Send private message
sedireswarapu

New User


Joined: 18 Jun 2008
Posts: 28
Location: India

PostPosted: Thu Jul 24, 2008 11:48 am    Post subject:
Reply with quote

Hi Sashi,

As suggested earlier, XDC command can be used to copy SYSOUT data to a PS. But, if you want to copy the SYSOUT data to a PS on a daily basis in your scheduled job, you shall just include a DSN in the SYSOUT of the required job step.

In case if the dataset is delete defined daily and the SYSOUT data has to be referred on a later date, then you shall also have an additional step to redirect the sysout data obtained in the PS to SAR through a SORT step.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 24, 2008 11:51 am    Post subject:
Reply with quote

Sriram,


through a SORT step

or

through a MERGE step??
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 24, 2008 12:12 pm    Post subject:
Reply with quote

or COPY?
Back to top
View user's profile Send private message
sedireswarapu

New User


Joined: 18 Jun 2008
Posts: 28
Location: India

PostPosted: Thu Jul 24, 2008 12:19 pm    Post subject:
Reply with quote

Dick,

In a SORT step, we can just use the PS as input & direct the output from the SORTOUT to SAR (using SORT FIELDS=COPY in the SYSIN)...
Back to top
View user's profile Send private message
sashi

New User


Joined: 14 Sep 2005
Posts: 54
Location: Chennai

PostPosted: Thu Jul 24, 2008 4:36 pm    Post subject:
Reply with quote

Bill Dennis wrote:
To clarify, the XDC command goes in the NP column next to the job, not on the Command Input ==> line.

If you want just the listing, first do a ? next to the job to see separate sysouts.



thanks for reply...
but XDC command not working.
it says '' Command is invalid ''.
I tried it at command line and at joblevel also.
it giving the same error massage.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Thu Jul 24, 2008 5:57 pm    Post subject:
Reply with quote

@ sashi !

Are you using SDSF to look at the job-output ???.

So if yes, Select your desired output at the SDSF STATUS DISPLAY
by using an "?" in front of the jobname. Then you get the SDSF JOB DATA SET DISPLAY. Enter "XDC" in front of the output-listing, you want to save in a file.

If you have a very old release of sdsf, you could use the commands PRINT ODSN / PRINT / PRINT CLOSE.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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