Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
The Challenge: Can I ask the mapper to read a file/record format twice?
I want the mapper to read the file and map all the TRC's on the first pass and all the NTE's on the second pass.
The Solution: The answer is "NO". You can only record associate associate a file/record format to only one loop in the map. To be able to achieve this, you will need to create two logical files against the same physical file.
[F6] to add a Record Format
Add the TRC Record Format.
Option 14 to add SELECTION Criteria
Add the NTE Record Format.
Option 14 to add SELECTION Criteria
Add the record formats to the UFD
Record associate the record formats to the corresponding loops in the map.
Do you have a new CHALLENGE? Let us know HERE.