.-SWNORDER--=--(swnorder_start_option_value1,swnorder_start_option_value2)-----. >>-+------------------------------------------------------------------------------+->< | .-(swnorder_start_option_value1,swnorder_start_option_value2)-. | '-SWNORDER--=--+-------------------------------------------------------------+-' | .-swnorder_start_option_value2-. | +-(--CPNAME--,--+------------------------------+--)-----------+ | .-swnorder_start_option_value2-. | +-(--STATNID--,--+------------------------------+--)----------+ | .-swnorder_start_option_value1-. | +-(--+------------------------------+--,--FIRST--)------------+ | .-swnorder_start_option_value1-. | +-(--+------------------------------+--,--ONLY--)-------------+ +-(--CPNAME--,--+-FIRST-+--)----------------------------------+ | '-ONLY--' | '-(--STATNID--,--+-FIRST-+--)---------------------------------' '-ONLY--'
statements: | GROUP, LINE |
dependencies: | none |
Specifies the way VTAM® locates a switched PU. If you do not code SWNORDER, the default is the value of the SWNORDER start option. If VTAM does not find the PU using the SWNORDER value you specify, and the second parameter of SWNORDER is FIRST, it searches by the other value. For example, if you code SWNORDER=CPNAME and VTAM cannot find a PU with a matching CPNAME, it searches by the station identifier (IDBLK and IDNUM operands on the PU definition statement for the switched major nodes).
If VTAM does not find the PU using the SWNORDER value you specify and the second parameter of SWNORDER is 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.
These operands override the SWNORDER start option values for SWNORDER.
If either value_1 or value_2 are omitted from the SWNORDER definition, the corresponding start option SWNORDER value will be the default for the omitted value.