The switch of header fields is hardcoded. This logic should look at the session DD to see what the header fields are.
(Plus, if the engine is generated off a DD that has removed/modified one of these fields, this function will probably trigger a compilation error.)
The
switchof header fields is hardcoded. This logic should look at the session DD to see what the header fields are.(Plus, if the engine is generated off a DD that has removed/modified one of these fields, this function will probably trigger a compilation error.)