SET statements are global default statements, and establish values for subsequent SHIP statements. If a parameter is required (or used) but not coded, CA Endevor SCM looks for that information in a previous SET statement.
Note: If you code a SET statement but enter similar information in the SHIP clause, the value in the SHIP clause will override the SET statement value.
You can use two SET statements with the Package Shipment Utility:
The SET DESTINATION clause applies to each subsequent SHIP statement that does not contain a destination. Because destination is required, you must have a SET statement (previously) coded if you omit the TO DESTINATION clause.
The destination name specified here will be used until the system encounters another SET DESTINATION statement or a CLEAR DESTINATION statement, or processing ends.
The SET OPTION clause applies to each subsequent SHIP statement that does not specify an option. The option you indicate in the SET clause is used until the system encounters another SET OPTION statement or a CLEAR OPTIONS statement, or processing ends.
Because the SHIP statement does not require an option, however, you need not code this statement at all. In this situation, the default option output will be applied.
|
Copyright © 2014 CA.
All rights reserved.
|
|