Draft Document for Review February 7, 2020 3:15 pm 8464axJES3.fm SETNAME statement  The  SETNAME  statement is used for proper allocation in a JES3 environment. For tape devices,  it tells JES3 which tape device belongs to which library. The  SETNAME  statement specifies the  relationships between the  XTYPE  values (coded in the  DEVICE  Statement) and the LDG names  (Figure C-2). A  SETNAME  statement must be defined for each unique  XTYPE  in the device  statements.  SETNAME,XTYPE= LB1359K , NAMES=(LDGW3495,LDG F4001 ,LDG359K,LDK F4001 )  Complex Library Complex Library Wide  Specific Wide  Specific Library Library Device Device Name Name Name Name Figure C-2 SETNAME rules The  SETNAME  statement has the following rules: GLYPH<SM590000> Each  SETNAME  statement has one entry from each LDG category. GLYPH<SM590000> The complex-wide library name must be included in all statements. GLYPH<SM590000> A library-specific name must be included for  XTYPEs  within the referenced library. GLYPH<SM590000> The complex-wide device type name must be included for all  XTYPEs  of the corresponding  device type in the complex. GLYPH<SM590000> A library-specific device type name must be included for the  XTYPE  associated with the  devices within the library. Tip:  Do not specify esoteric and generic unit names, such as 3492, SYS3480R, and  SYS348XR. Also, never use esoteric names, such as TAPE and CART. High watermark setup names Use the  HWSNAME  statement to define which device names are subsets of other device names.  You must specify all applicable varieties. The  HWSNAME  command has this syntax: HWSNAME,TYPE=( groupname ,{ altname }) The variables specify the following information: GLYPH<SM590000> The  groupname  variable: Specifies a device type valid for a high watermark setup. GLYPH<SM590000> The  altname  variable: Specifies a list of valid user-supplied or IBM-supplied device names.  These are alternative units to be used in device selection. Consider the following example: HWSNAME,TYPE=(LDGW3495,LDGF4001,LDGF4006,LDG359J,LDG359K,LDG359M,LDG359N,LDJF4001, LDKF4001,LDKF4006) The LDG  HWSNAME  statements have the following rules: GLYPH<SM590000> The complex-wide library name, LDGW3495, must include all other LDG names as  alternates. GLYPH<SM590000> The library-specific name must include all LDG names for the corresponding library as  alternates. When all tape devices of a type within the complex are within a single tape  library, the complex-device type name must also be included as an alternative name. Appendix C. JES3 examples and information  833