also you havve to know, if you are in batch or foreground. in batch you habe to set your variables and in frotn you invoke the display service you have to make clear, that your panel will not wait for a user action
:
address ispexec
if run_in_batch() then do
"control display lock"...
cobol DISPLAY goes to SYSOUT. make sure, that SYSOUT is assigned to TERMINAL like:
ALLOC DD(SYSOUT) DA(*) SHR REUSE
put the call of your cobol-program in a separate REXX and set the output trapping before you call this rexx program.
also you can assign SYSOUT to a temporarely file and read it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.