Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Prompt Message Processing z/OS TSO/E Programming Services SA32-0973-00 |
|
A prompt message is a message that is issued to the terminal when
the program in control requires input from the terminal user. PROMPT
information must come from the terminal and cannot be obtained from
any other source of input. There are three cases when a request for
PROMPT processing is denied by PUTGET:
When the PUTGET service routine returns control to the program
that invoked it, it returns a return code of 12 when no prompting
was allowed on a PROMPT request because:
If PROMPT processing is enabled, the PUTGET service routine writes the first-level message to the terminal and obtains an input line from either the REXX data stack or the terminal. If the input line is a question mark, PUTGET either returns the next-level message provided or a message informing the user that no information is available. PUTGET continues to respond to each question mark by writing one more second-level message to the terminal until the chain is exhausted. PUTGET then issues a message informing the user that no more information is available. The task then goes into a wait state until the user enters a line. When the user enters a line, PUTGET places the address of the line into the fourth word of the PUTGET parameter block. Note that for message prompting, PUTGET with TERMGET=EDIT is required. |
Copyright IBM Corporation 1990, 2014
|