M204.1572: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
Line 1: Line 1:
{{Template:M204.1572 skeleton}}
{{Template:M204.1572 skeleton}}
<P>
<P>
The external data set, the terminal, or the process specified in a CLOSE, POSITION, READ, RECEIVE, SEND, SIGNAL, or WRITE statement was not opened with an OPEN statement. In the case of a process, $STATUS has a value of 4
The external data set, the terminal, or the process specified in a <var>Close</var>, <var>Position</var>, <var>Read</var>, <var>Receive</var>, <var>Send</var>, <var>Signal</var>, or <var>Write</var> statement was not opened with an <var>Open</var> statement. </p>
and <var>$StatusD</var> has value 1572 &mdash; the error message number. In all the other cases, <var>$Status</var> will have a value of 2. </P>
<p>
<p>
<b>Response:</b> This message can be retrieved using <var>$Errmsg</var>, and appropriate action can be taken by the request. </p>
In the case of a process, <var>$Status</var> has a value of 4, and <var>$StatusD</var> has value 1572 &mdash; the error message number. In all the other cases, <var>$Status</var> will have a value of 2. </P>
<p>
<b>Response:</b> This message can be retrieved using <var>$Errmsg</var>, and appropriate action can be taken by the request.  
</p>
{{Template:M204.1572 footer}}
{{Template:M204.1572 footer}}
<!-- skeleton as it was in pdf/name NOT OPEN /-->
<!-- skeleton as it was in pdf/name NOT OPEN /-->

Latest revision as of 01:04, 8 March 2018

M204.1572  token token2 not open

The external data set, the terminal, or the process specified in a Close, Position, Read, Receive, Send, Signal, or Write statement was not opened with an Open statement.

In the case of a process, $Status has a value of 4, and $StatusD has value 1572 — the error message number. In all the other cases, $Status will have a value of 2.

Response: This message can be retrieved using $Errmsg, and appropriate action can be taken by the request.

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITMSWrites the message with line type MS to the audit trail
NOCOUNTDoes not increment the error count (ERCNT) parameter
NOTERMDoes not display the message on the user's terminal
SAVESaves the message in the VIEW ERRORS table

Back to list of messages