Considerations for SNA dynamic alias names

If a CICS® region is using dynamic LU aliases (that is, LUAPFX=xx is specified on the SNA APPL definition), selecting a unique TERMINAL name may be more complicated than otherwise. The following factors should be considered:

  • The default programs use the last 4 characters of the NETNAME, which does not produce a repeatable TERMID for an LU that is assigned a dynamic LU alias. Consider using the network qualified name in the CINIT or BIND if it is important that the termid is repeatable for each logon.
  • If you use the last 4 characters of the NETNAME, a dynamic LU alias produces a terminal id of 0001, 0002, and so on. Check that your RDO-defined terminals do not have such names, and if necessary change your autoinstall control program's logic. For example, you could use the last character of the NETID concatenated with the last 3 from the real network name.
  • There is some new sample code in DFHZATDX and DFHZATDY that extracts the network qualified name, referenced as NQNAME, from the CINIT or BIND and uses the last character of the NETID and the last 3 characters of the real network name to provide an alternative TERMID.

    If this logic fails to create a termid for any reason it drops through to create the terminal id from the network name as usual. Note this code is enclosed within comments and is supplied only to illustrate how to extract the required information from the CINIT and BIND '0E' control vectors

  • The sample code is also added in the form of comments to the C, COBOL, and PL/I versions of DFHZATDX. If you use these, note that:
    • The PL/I sample, DFHZPTDX, must be compiled with the PL/I compiler option LANGLVL(SPROG).
    • The COBOL sample, DFHZCTDX, must be compiled with compiler option TRUNC(OPT).