Making a cobol or assembler program pseudo-conversational
search cancel

Making a cobol or assembler program pseudo-conversational

book

Article ID: 22486

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

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?

Environment

Release: All supported releases.

Resolution

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.