View previous topic :: View next topic
|
Author |
Message |
MIMI Warnings : 1 New User
Joined: 09 Jan 2006 Posts: 20
|
|
|
|
Dear,
I want to split a job outputs by its log and reports. I need to send the reports(output lists) and logs separately in SDSF and also need to get 2 copies that have 2 entries in SDSF(not put the two copies in one entry of SDSF). That mean I need 4 lists in SDSF (two for log and two for list) but I don't need to run the job twice?
Do anyone have this JCLs? Much appreciated.
MIMI |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Change your DD statements for the sysouts you need 2 copies of to be like:
Code: |
//ddname DD SYSOUT=whatever,COPIES=2 |
Please refer to the JCL manual for more info. |
|
Back to top |
|
|
MIMI Warnings : 1 New User
Joined: 09 Jan 2006 Posts: 20
|
|
|
|
Thanks, Dick Sherrer,
But this will give me one entry in SDSF that append the two copies together. I need the two entries in SDSF. So when I send one to printer and another one still in SDSF.
MiMi |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
One way to do that is to write the original to a dataset and then run 2 separate IEBGENER steps to create the separate sysouts that you need. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
run 2 separate IEBGENER steps |
Or one DFSORT step with
Code: |
OPTION COPY
OUTFIL FNAMES=(OUT1,OUT2)
|
|
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
Does not ALTLOG ( coupled with SASLOG ) what you want? |
|
Back to top |
|
|
MIMI Warnings : 1 New User
Joined: 09 Jan 2006 Posts: 20
|
|
|
|
Thanks all, It is a great help.
I found a way to do that:
Code:
//ddname DD SYSOUT=A,output=SDSF, Class=B, COPIES=2
because the defaut SDSF class =A. so the system will give two output in Q, one is class A and another is class B.
Ped, I like you picture. Much appreciate,
MIMi |
|
Back to top |
|
|
|