Attempting to make an online cobol or assembler program pseudo-conversational. Coding a NEXT TASK CODE in the DC RETURN / #RETURN but the task starts immediately and issues a mapin instead of waiting for user input. Eventually the task stalls and fails with a D002 abend.
How to make the next task code wait for user input?
Release: All supported releases.
To make the program pseudo-conversational the next task code needs to be defined in the TASK statement in the SYSGEN with the INPUT option.
This option will cause IDMS to wait until input is available from the terminal before starting the task.