Example: increments other than 1
The map may include other input cards and output cards as needed. For example, you may have established an increment other than one for the ISA control number that you exchange with your partner:
- Input card 1 represents the most recently used control number (LastUsedControl Number)
- Input card 2 represents data from a Customer Master Database (CustomerMasterDB)
- Output card 1 contains a rule with the SEARCHUP function
to find the increment for the ABC Rock customer; the increment is added to
the most recently used control number and the result is returned to the Message
Manager. The map rule is:
=LastUsedControlNumber + SEARCHUP ( Increment Column:.:CustomerMasterDB , CustID Column:.:CustomerMasterDB , "ABC Rock" )