A new -cn switch allows you to control updates and lookups for control numbers when running maps. This switch works differently for inbound and outbound map runs. Using this option will improve performance for those customers who do not care about control numbers.
The -cn switch disables control number lookup and updates in the trading partner database during inbound map runs.
Inbound maps.
EBF 4.2.4
CR#388842
The syntax for this switch is:
-cn
Disabling control number updates for inbound maps
in Windows
Open the Run Inbound Map window.
Click the Option 2 tab.
Select No Control Number Updates.
The Validate Control Number Sequence option in the Option
2 tab of the ECMap Run Inbound Map window is disabled when you select
the No Control Number Updates option, as no validation can occur
if no control numbers are being updated, and vice versa.
The same holds true for the corresponding command line switches, -sc and -cn. The switches cannot be used concurrently. See “Validating the Interchange (ISA) and Group (GS) control number sequence [EDI 4.2]”.
If you do not use -cn and -sc on the command line or if you do not select No Control Number Updates and Validate Control Number Sequence in Windows, the control numbers will be updated to the database but will not be validated.
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 will override 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 Acknowledgment window.
Click the Option 1 tab.
Select Enter Control Number Override. A text box will appear to the right of the check box. You may enter a value for the control number in the text box.
Note the following 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 will fill up the field with zeros as it has a fixed length of 9 digits.
If the option is checked 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) will be passed as the control number.
If multiple interchanges occur, the interchange control number will be incremented by 1 from the user supplied value.
The group control number will start at 1 for each interchange encountered and increment accordingly.