SYS1.SORTLIB and JCL



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

SYS1.SORTLIB and JCL

Postby samb01 » Thu Feb 04, 2016 2:05 pm

Hello,

in the folloxing sort :

//SORT     EXEC PGM=SORT                           
//SORTLIB  DD DSN=SYS1.SORTLIB,DISP=SHR           
//SYSOUT   DD SYSOUT=H,HOLD=YES                   
//SYSUDUMP DD SYSOUT=H,HOLD=YES                   
//SORTIN   DD  DISP=SHR,                           
//         DSN=XDSN.FCVD             
//OUT1     DD DISP=(NEW,CATLG,CATLG),             
//         SPACE=(CYL,(1,1),RLSE),UNIT=DISK,       
//         DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920), 
//         DSN=FCB.TECHTIE       
//OUT2     DD DISP=(NEW,CATLG,CATLG),             
//         SPACE=(CYL,(1,1),RLSE),UNIT=DISK,       
//         DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920), 
//         DSN=PSG.TECHPA       
//SYSIN    DD *                                   
  OPTION COPY                                     
  OUTFIL FNAMES=OUT1,                             
   INCLUDE=(19,1,CH,EQ,C'T',                 
            AND,10,6,CH,EQ,C'TCFT',       
            AND,17,1,CH,EQ,C'P',             
            AND,30,8,CH,NE,C'00000000'),     
   BUILD=(30,8,C'TC',70X)                   
   OUTFIL FNAMES=OUT2,                       
   INCLUDE=(19,1,CH,EQ,C' ',                 
            AND,10,6,CH,EQ,C'TCFT',       
            AND,17,1,CH,EQ,C'P',             
            AND,30,8,CH,NE,C'00000000'),     
   BUILD=(30,8,C'TC',70X)                   
 //



there is the line :

//SORTLIB DD DSN=SYS1.SORTLIB,DISP=SHR

I would like to know if this line is really neccessary in the step ?


Thank's.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: SYS1.SORTLIB and JCL

Postby enrico-sorichetti » Thu Feb 04, 2016 2:23 pm

all depends on Your system setup, and the sorting being done
the IBM DFSORT manual has a good explanation of the dddnames required and the reason
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: SYS1.SORTLIB and JCL

Postby Terry Heinze » Thu Feb 04, 2016 7:54 pm

...or comment it out, submit, and see what you get.
.... Terry
Terry Heinze
 
Posts: 239
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 12 times
Been thanked: 11 times


Return to DFSORT/ICETOOL/ICEGENER