IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to copy the SYSOUT data in to flat file.


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Jul 23, 2008 9:34 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Jul 24, 2008 12:37 am
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

Global Moderator


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

PostPosted: Thu Jul 24, 2008 1:40 am
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
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
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
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
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
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: 771
Location: Germany

PostPosted: Thu Jul 24, 2008 5:57 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top