We need to use powerexchange to read an IBM mainframe variable length file with multiple record types/layouts. There are comp-3 fields in the variable portion of the record layouts as well as in the header portion. We can read the file and its header portion by using source copybook containing COBOL "occurs ... depending" syntax, but since there is comp-3 in the variable portion, it gets converted from EBCDIC to ASCII as if it were non-comp-3, based on the generic definition of the variable portion.
Any ideas on best way to do this?
Create a multirecord PWX DataMap (one "record" for each of the layouts).
Please see the PWX Navigator Users Guide, and the KBs below.
If you need help with this, I would suggest opening an SR with PowerExchange Support.
thanks Dan. this works for us.