ICETOOL - DEFAULTS Operator


DEFAULT prints the DFSORT installation defaults in separate list data set.


Syntax: -



Required Operands: -


LIST -

Specifies the list data set ddname.

DD statement must supply for the ddname specified.


Optional Operands: -


LISTSDB -

Uses SDB for the list data set.

Overrides installation value SDBMSG=NO.


LISTNOSDB -

Does not use SDB for the list data set.

Overrides installation value SDBMSG=YES.


Example: -

Below example to prints the DFSORT installation defaults in the other dataset.


Job: -

//MTHUSRR JOB (123),'MTHUSR',CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),   
//             NOTIFY=&SYSUID                                     
//*                                                               
//STEP01   EXEC PGM=ICETOOL                                       
//INDD     DD DSN=MTHUSR.INPUT.DATASET1,                          
//            DISP=(NEW,CATLG,DELETE),                            
//            SPACE=(TRK,(1,1),RLSE),UNIT=SYSDA,                  
//            DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)        
//TOOLIN   DD *                                                   
  DEFAULTS LIST(INDD) LISTSDB                                     
/*                                                                
//TOOLMSG  DD DSN=MTHUSR.OUTPUT.TOOLMSG1,DISP=SHR                 
//DFSMSG   DD SYSOUT=*                                            
//                                                                


TOOLMSG OUTPUT –


List Output –


Explaining Solution: -

  • INDD - Specifies the ddname for input dataset.
  • TOOLIN DD * - Specifies the ICETOOL statements for DFSORT.
  • TOOLMSG - Specifies ICETOOL message data set.
  • DFSMSG - Specifies DFSORT message data set.
  • DEFAULTS LIST(INDD) LISTSDB - Prints the DFSORT installation defaults and uses SDB for the list data set.