Making Sense of it (JCL)

JCW2
JCW2 used Ask the Experts™
on
I need to make sense of this task in general.

How do I deal with this issue:

"The sort output data set attributes are incompatible with the
reports written by sort program."

and:

"Modify t07job3 ddname subparameter required to allocate a sort output
data set that is compatible with t07job2 sort execution."
T06CTL1.txt
T07JOB3.txt
T07JOB2.txt
I007.txt
T007.txt
T06JOB1.txt
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014
Commented:
Do you know which DD's are the sort output?

Do you know what their data set (DCB) attributes are?

Do you know what the sort parameters (SYSIN to SORT) for the report are trying to use for their data set attributes?

Author

Commented:
sort output:

//USA      DD DSN=&SYSUID..USA.REPORT(USA),DISP=SHR
//VI1      DD DSN=&SYSUID..USA.REPORT(VI1),DISP=SHR
//NY2      DD DSN=&SYSUID..USA.REPORT(NY2),DISP=SHR
//VN       DD DSN=&SYSUID..USA.REPORT(VN),DISP=SHR

Data set attributes:

DSN=&SYSUID..USA.REPORT,        
DISP=(NEW,CATLG,DELETE),        
UNIT=3390,VOL=SER=VPWRKA,      
SPACE=(CYL,(1,1,0)),            
DSNTYPE=LIBRARY,                
DCB=(RECFM=FB,LRECL=81,DSORG=PO)

SYSIN:
//SYSIN    DD DSN=&SYSUID..PART3.DATA(T06CTL1),DISP=SHR

Uses ID.Part3.Data(T06CTL1) with data set disposition SHR; concurrent jobs can share access to it with disposition SHR.
Top Expert 2014

Commented:
You need to look at the sort parameters in member T06CTL1.

Author

Commented:
Thank you for your help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial