Making Sense of it (JCL)

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
JCW2Asked:
Who is Participating?
 
giltjrConnect With a Mentor 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?

0
 
JCW2Author 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.
0
 
giltjrCommented:
You need to look at the sort parameters in member T06CTL1.
0
 
JCW2Author Commented:
Thank you for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.