DEFAULTS Operator (for Experienced)


Summary

For basic information, go through the DEFAULTS Operator (for Beginners)

DEFAULT operator prints the DFSORT installation defaults in a separate list file.

Syntax -

listing for file -

  DEFAULTS LIST(listdd)

listing for file with parameters -

  DEFAULTS LIST(listdd) LISTSDB
OR
  DEFAULTS LIST(listdd) LISTNOSDB
DEFAULTS Operator

Required Operands


LIST -

  • listdd specifies the list dataset ddname to be created by ICETOOL LIST operation.
  • A listdd DD statement should be provided.
  • ICETOOL uses RECFM=FBA, LRECL=121, and the BLKSIZE should be multiples of 121 for the list data set.
  • If the BLKSIZE is not specified, ICETOOL selects the block size as required by LISTSDB or LISTNOSDB. If LISTSDB or LISTNOSDB is not specified, BLKSIZE is selected according to the system installation option.

Optional Operands


LISTSDB -

  • LISTSDB specifies to ICETOOL that the BLKSIZE should select as the system-determined optimum block size for the LIST data set in the same way as for installation option SDBMSG=YES.

LISTNOSDB -

  • LISTSDB specifies to ICETOOL that the BLKSIZE should select as the system-determined optimum block size for the LIST data set in the same way as for installation option SDBMSG=NO.

Example -


Scenario - Prints the DFSORT installation defaults to the list dataset.

JCL -

----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
***************************** Top of Data ******************************
//MATEPKDS JOB (123),'MATEPK',CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),        
//             NOTIFY=&SYSUID                                           
//*                                                                     
//STEP01   EXEC PGM=ICETOOL                                             
//LISTDD   DD DSN=MATEPK.INPUT.PSFILE2,                                 
//            DISP=(NEW,CATLG,DELETE),VOLUME=SER=DEVHD4,                
//            SPACE=(TRK,(1,1),RLSE),UNIT=SYSDA,                        
//            DCB=(DSORG=PS,RECFM=FB,LRECL=121,BLKSIZE=242)             
//TOOLIN   DD *                                                         
  DEFAULTS LIST(LISTDD)                                                 
/*                                                                      
//TOOLMSG  DD SYSOUT=*                                                  
//DFSMSG   DD SYSOUT=*                                                  
//                                                                      
**************************** Bottom of Data ****************************

LIST OUTPUT - MATEPK.INPUT.PSFILE2

 BROWSE    MATEPK.INPUT.PSFILE2                       Line 00000000 Col 001 080 
 Command ===>                                                  Scroll ===> CSR  
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2
********************************* Top of Data **************************************************************************
Z/OS DFSORT V1R12 MERGED PARMLIB/ICEMAC DEFAULTS     - 1 -                      
                                                                                
   * IBM-SUPPLIED DEFAULT (ONLY SHOWN IF DIFFERENT FROM THE SPECIFIED DEFAULT)  
                                                                                
ITEM           JCL (ICEAM1) VALUE       INV (ICEAM2) VALUE       TSO (ICEAM3) VALUE       TSOINV (ICEAM4) VALUE   
----------     --------------------     --------------------     --------------------     ---------------------
ENABLE         NONE                     NONE                     NONE                     NONE                  
                                                                                
ABCODE         MSG                      MSG                      MSG                      MSG                  
ALTSEQ         SEE BELOW                SEE BELOW                SEE BELOW                SEE BELOW
ARESALL        0                        0                        0                        0
ARESINV        NOT APPLICABLE           0                        NOT APPLICABLE           0     
CFW            YES                      YES                      YES                      YES
CHALT          NO                       NO                       NO                       NO  
CHECK          YES                      YES                      YES                      YES       
CINV           YES                      YES                      YES                      YES   
COBEXIT        COB2                     COB2                     COB2                     COB2     
DIAGSIM        NO                       NO                       NO                       NO         
.....................
.....................
.....................
Z/OS DFSORT V1R12 ICEMAC DEFAULTS                    - 13 -                     
                                                                                
ICETD1 ALTSEQ TABLE:  SAME AS IBM-SUPPLIED ALTSEQ TABLE BELOW                   
                                                                                
ICETD2 ALTSEQ TABLE:  SAME AS IBM-SUPPLIED ALTSEQ TABLE BELOW                   
                                                                                
ICETD3 ALTSEQ TABLE:  SAME AS IBM-SUPPLIED ALTSEQ TABLE BELOW                   
                                                                                
ICETD4 ALTSEQ TABLE:  SAME AS IBM-SUPPLIED ALTSEQ TABLE BELOW                   
                                                                                
IBM-SUPPLIED ALTSEQ TABLE (IN HEXADECIMAL):                                     
  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
  20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
  40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F
  60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 
  80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F 
  A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF
  C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF
  E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 
******************************** Bottom of Data *******************************************************************
Note! The above output comes around 13 pages. So displayed first and last page.

TOOLMSG (SDSF SPOOL) - Verify TOOLMSG for the return code of the submitted job.

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9
********************************* TOP OF DATA ********************************************
1ICE600I 0 DFSORT ICETOOL UTILITY RUN STARTED                                   
                                                                                
 ICE650I 0 VISIT http://www.ibm.com/storage/dfsort FOR ICETOOL PAPERS, EXAMPLES AND MORE 
                                                                                
 ICE632I 0 SOURCE FOR ICETOOL STATEMENTS:  TOOLIN                               
                                                                                
                                                                                
 ICE630I 0 MODE IN EFFECT:  STOP                                                
                                                                                
            DEFAULTS LIST(LISTDD)                                               
ICE603I 1 INFORMATION PRINTED IN LISTDD   DATA SET                              
ICE602I 0 OPERATION RETURN CODE:  00                                            
                                                                                
                                                                                
 ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE:  00                  
******************************** BOTTOM OF DATA ******************************************

Explaining Solution -

  • INDD - Specifies the ddname for input file.
  • TOOLIN DD * - Specifies the ICETOOL statements for DFSORT.
  • TOOLMSG - Specifies where to write the ICETOOL processing messages.
  • DFSMSG - Specifies where to write the DFSORT processing messages.
  • DEFAULTS LIST(INDD) LISTSDB - Prints the DFSORT installation defaults in the list data set.