View previous topic :: View next topic
|
Author |
Message |
sashi
New User
Joined: 14 Sep 2005 Posts: 54 Location: Chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Bill,
Thanks for the correction - fingers got ahead of brain. . .
I patched up the original. .
d |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2583 Location: Silicon Valley
|
|
|
|
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 |
|
|
sedireswarapu
New User
Joined: 18 Jun 2008 Posts: 28 Location: India
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Sriram,
through a SORT step
or
through a MERGE step?? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
or COPY? |
|
Back to top |
|
|
sedireswarapu
New User
Joined: 18 Jun 2008 Posts: 28 Location: India
|
|
|
|
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 |
|
|
sashi
New User
Joined: 14 Sep 2005 Posts: 54 Location: Chennai
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
@ 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 |
|
|
|