The -cn control number switch disables control number lookups and updates in the trading partner database during outbound map runs. The control number option is provided for the switch to accept a value for control number as input from the calling program or from the user. This overrides the default value from ECRTP. The value for control number is used for the outbound ISA.
Outbound maps.
EBF 4.2.4
CR#388842
The syntax for this switch is:
-cn control number
Disabling control number updates and specifying a control number in Windows
Open the Run Outbound Map window, or open the Run Outbound Map acknowledgement window.
Click the Option 1 tab.
Select Enter Control Number Override. A text box appears, where you may enter a value for the control number.
For both Windows and the command line:
The control number must be a valid integer and can be up to 9 digits.
If a value for control number with less than 9 digits is entered, ECRTP fills up the field with zeros as it has a fixed length of 9 digits.
If the option is selected in Windows and the switch is used in the command line but no entry is made in the text box, the default value of 000000001 (1) is passed as the control number.
If multiple interchanges occur, the interchange control number is incremented by 1 from the user-supplied value.
The group control number starts at 1 for each interchange encountered and increment accordingly.