z/OS Language Environment Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of changing unit attribute table default values

z/OS Language Environment Customization
SA38-0685-00

The following example shows how you can modify the IBM-supplied defaults for your own environment. You can alter instructions by typing over existing data, or you can remove or add AFHOUNTM and AFHODCBM macro instructions.

Example

In this example, the device name SYSSQ is specified and a unique set of DCB attributes is assigned to units 1 through 4 for dynamically allocated data sets.

Figure 1. Modified IBM-supplied macro instructions
AFHOUTAG AFHOUTCM UNTABLE=99,
               DEVICE=SYSSQ

      AFHOUNTM RDRUNIT,DCBSET=DCBRDR
      AFHOUNTM PRTUNIT,DCBSET=DCBPRT
      AFHOUNTM PUNUNIT,DCBSET=DCBPUN
      AFHOUNTM (1,4),DCBSET=USERDCB

DCBRDR AFHODCBM SFRECFM=F,SFLRECL=80,SFBLKSI=80,
                SURECFM=F,SULRECL=80,SUBLKSI=80

DCBPRT AFHODCBM SFRECFM=UA,SFLRECL=133,SFBLKSI=133

USERDCB AFHODCBM SFRECFM=FB,SFLRECL=50,SFBLKSI=250,
                SFMAXRE=200,SURECFM=FB,SULRECL=50,
                SUBLKSI=250,SUMAXRE=200,DMAXRE=200

DCBPUN AFHODCBM SFRECFM=F,SFLRECL=80,SFBLKSI=80,
                SURECFM=F,SULRECL=80,SUBLKSI=80

       AFHODCBM SFRECFM=U,SFLRECL=800,SFBLKSI=800,SFMAXRE=100,
                SURECFM=VS,SULRECL=-1,SUBLKSI=800,SUMAXRE=100,
                DMAXRE=100

       AFHOUTCM TYPE=FINAL
Note: The format of the example is given for readability purposes. Remember to add the necessary continuation flags in column 72, and to begin continued lines in column 16.

AFHOUTCM, AFHOUNTM, and AFHODCBM must all be coded, in that order, followed by the AFHOUTCM TYPE=FINAL statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014