View previous topic :: View next topic
|
Author |
Message |
crrindia
Active User
Joined: 02 Jul 2005 Posts: 124 Location: Gurgaon
|
|
|
|
I my job, I have two steps. In both the steps its diplaying the Reports. My requirement is to display both of the steps output(Reports) in one SYSOUT itself. If achieve this requirement what can I do? Please let us know about it.
Thanks!
Rathna. |
|
Back to top |
|
|
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
first step
//sysout dd dsn=file1,disp(new,catlg,delete)
in second step
//sysout dd dsn=file1,disp=(mod,keep,keep)
if you want sysout only (not in file) then add one more step
exec iebgener
sysut1 dd dsn=file1,disp=(old,delete,keep)
sysut2 dd sysout=* |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Hi crrindia,
If you need the report in both the steps to be printed in a single PS, you can have the same PS name in both the steps having the status of the PS as (MOD,KEEP,KEEP) in second step ,by keepin so we are appending the details to the existing PS.
Regards,
Diwakar.D
---------------------------------------------------
Nobody is perfect. I am nobody |
|
Back to top |
|
|
crrindia
Active User
Joined: 02 Jul 2005 Posts: 124 Location: Gurgaon
|
|
|
|
Hi Divakar, thank you very much for your help. Its very good solution.
Thanks!
Rathna. |
|
Back to top |
|
|
|