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

Wanted to display TWO steps Sysout Results in one Sysout.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Aug 09, 2006 1:39 pm
Reply with quote

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
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Thu Aug 10, 2006 11:21 pm
Reply with quote

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
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Fri Aug 11, 2006 11:17 am
Reply with quote

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
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Thu Aug 17, 2006 12:17 pm
Reply with quote

Hi Divakar, thank you very much for your help. Its very good solution.

Thanks!
Rathna.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts How to display the leading zeros of a... DB2 7
No new posts No sysout coming in spool JCL & VSAM 4
Search our Forums:

Back to Top