Thursday, November 24, 2011

Sorting ps



  1. Internal sorting
  2. External sorting : utilities: /SORT/ICETOOL/SYNCSORT/DFSSORT/ICEMEN.

//job001           job(xyz), ‘abc’ class= L MSGclass=x,  MSGLEVEL=(1,1), time=(1,1) reglon=look,typrun= run,  notify=&sysid
//step001                      exec     pgm=IEBGCOPY
//sysin              DD      DSN=user.sour.data.prod.cobol, disp=shr
//sysout                        DD      DSN=user.sour.data.dev.cobol, disp=old
//sortwk01                   DD      space =(cyl,(1,1), rlse), unit =(disk)
//sortwko2                   DD      spaced(b2 (1,1),rlse), unit = disk.
//sysin              DD      *
sort fields=(starting position, length, datatype,{ASC,DES}, HX,a/d)
work files:  while sorting on JCL
identify inputfile, output file &work files

No comments:

Post a Comment