Hi Forum,
I running a job that obtain the max of a field, i use an Agregator, are three numeric fields (integers, total length is 12)
I define the 2 fields agrouped and the third is the max, my question is ...
If this is the jcl template for the sort definition ...
//*******************************************************************
//**** OS390_SORT
//*******************************************************************
//*******************************************************************
//%sortid.IN DD DSN=&&%sortid.IN,
// DISP=(NEW,DELETE,DELETE),
// UNIT=SYSDA,VOL=(,,,20),
// SPACE=(CYL,(%primamt,%secamt),RLSE),
// DCB=(LRECL=%sortreclen,BLKSIZE=%blocksize,RECFM=FB)
//%sortid.OUT DD DSN=&&%sortid.OUT,
// DISP=(NEW,DELETE,DELETE),
// UNIT=SYSDA,VOL=(,,,20),
// SPACE=(CYL,(%primamt,%secamt),RLSE),
// DCB=(LRECL=%sortreclen,BLKSIZE=%blocksize,RECFM=FB)
Why the length in the jcl is (check the length in bold)
//S001IN DD DSN=&&S001IN,
// DISP=(NEW,DELETE,DELETE),
// UNIT=SYSDA,VOL=(,,,20),
// SPACE=(CYL,(200,100),RLSE),
// DCB=(LRECL=16,BLKSIZE=480,RECFM=FB)
//S001OUT DD DSN=&&S001OUT,
// DISP=(NEW,DELETE,DELETE),
// UNIT=SYSDA,VOL=(,,,20),
// SPACE=(CYL,(200,100),RLSE),
// DCB=(LRECL=16,BLKSIZE=480,RECFM=FB)
What is the change in the jcl template to be ok????
JCL Sort in JobMainframe
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 133
- Joined: Wed Mar 05, 2003 4:19 pm
- Location: Lima - Peru. Sudamerica
- Contact:
JCL Sort in JobMainframe
Saludos,
Miguel Seclén
Lima - Peru
Miguel Seclén
Lima - Peru