For reasons that I don’t want to go into, we cannot get work file 12 and 13 defined for online use.
As a result, I am trying to develop a JCL which executes the process in batch. I am pretty close but I cannot figure a way to cleanly execute the process. The menu returns to the main screen which has a single character input field, so %% won’t work. I cannot figure out how to use the PF3 or PF12 keys in batch %K3 and %k12 are being ignored.
As a result I get a continuation error when the job’s SYSIN ends. I don’t like a non-zero end on my job!
Firstly and most useful: is there a better non-jcl way to do this. Ideally, I would like to do this online, perhaps coding directly to the toolkit API?
second: how do I get the menu to exit normally in batch?