View previous topic :: View next topic
|
Author |
Message |
chandan.inst
Active User
Joined: 03 Nov 2005 Posts: 275 Location: Mumbai
|
|
|
|
Hi All,
I want to copy sysout of a STEP into a PS file. But at the same time I want to display those details in spool also. The requirement is as below
//STEP1 EXEC PGM=ABC
//DD1 DD DSN=INPUT
//DD2 DD DSN=OUTPUT
//SYSTOUT DD SYSOUT=*
I want these sysout details in a file also..Is it possible by coding any extra step..
I can't take XDC from spool as this job goes to JHS
So final output need to be a Details displayed in Spool as well as copied to a PS file..
Kindly let me know solution for this
Regards,
Chandan |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please search the forum as there are many suggestions to achieve this and they are there, just waiting to be found. |
|
Back to top |
|
|
chandan.inst
Active User
Joined: 03 Nov 2005 Posts: 275 Location: Mumbai
|
|
|
|
Sorry to post this before searching..
I have got the solution which is as below:
//STEP1 EXEC PGM=ABC
//DD1 DD DSN=INPUT
//DD2 DD DSN=OUTPUT
//SYSTOUT DD DSN=SYSOUT DSN
//*
//STEP2 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=SYSOUT DSN
//SYSUT2 DD SYSOUT=*
This will solve the purpose.
Regards,
Chandan |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You may also use TSO JHSCOPY or you can invoke SDSF in batch. |
|
Back to top |
|
|
|