.-SWNORDER--=--(--CPNAME--,--FIRST--)--. >>-+--------------------------------------+-------------------->< '-SWNORDER--=--+-CPNAME--------------+-' +-STATNID-------------+ +-(,FIRST)------------+ +-(,ONLY)-------------+ +-CPNAME--+-,FIRST-+--+ | '-,ONLY--' | '-STATNID--+-,FIRST-+-' '-,ONLY--'
Specifies the way VTAM® locates a switched PU. If you do not code SWNORDER, VTAM searches for a PU by the CPNAME first. If VTAM does not find the PU by the CPNAME, it searches by the station identifier (IDBLK and IDNUM operands on the PU definition statement for the switched major nodes) since the second parameter defaults to FIRST.
If VTAM does not find the PU using the first SWNORDER parameter value you specify, and the second parameter of SWNORDER is specified as ONLY, the search for the PU terminates. For example, if you code SWNORDER=(CPNAME,ONLY) and VTAM cannot find a PU with a matching CPNAME, no attempt will be made to find the PU using the station identifier. If dynamic PUs are allowed, a dynamic PU will be created and PU connection processing will continue. If dynamic PUs are not allowed, the PU connection process will fail.
You can change the value of SWNORDER with the MODIFY VTAMOPTS command while VTAM is running. You can override this start otion for specific resources by coding the SWNORDER operand on the GROUP or LINE statements.