We have NaturalONE, and a batch NDV server on mainframe. We have a lot of code that says IF *DEVICE = ‘BATCH’ or = ‘COLOR’ (CICS) execute a batch or CICS version of a routine. When executing ONE/NDV *DEVICE is BROWSER and it could take either path (or none).
If it takes the CICS path we correctly get a NAT0920 - because CICS modules aren’t in the batch-NDV step lib concatenation.
If it takes the batch path it inevitably abends S0C4.
Any other mainframe folk having similar issues?
Anyone looked at the CICS Adaptor? Does it work with ONE, or is it just a left-over for Studio/SpoD? And if it does work with ONE is one’s Natural execution (Run As Natural Application) dispatched under the batch-NDV or in the CICS region? The manual isn’t very clear. What the purpose nor advantages of CICS Adaptor is.
Am I conflating two issues - *DEVICE and CICS Adaptor? Although if Natural execution under ONE was dispatched under CICS then *DEVICE would be COLOR and CICS external routines would be found and all our troubles would go away.
If we can get batch external modules working it still means having to look for *DEVICE (and *TPSYS) logic and ensure the batch path is taken for BROWSER (and SERVSTUB).