CEEQUMF — query the MSGFILE ddname

Purpose

This CWI returns the current MSGFILE ddname, status of the file, the effective LRECL if the file is open, and the file descriptor if the file is in the POSIX file system.

Syntax

void CEEQUMF (ddname, status, elrecl, fdesc, [fc])
CHAR8     *ddname;
INT4      *status;
INT4      *elrecl;
INT4      *fdesc;
FEED_BACK *fc;
CEEQUMF
Call this CWI interface as follows:
L     R15,CEECAACELV-CEECAA(,R12)   Address of CAA in R12
L     R15,2928(,R15)
BALR  R14,R15
ddname (output)
An 8-character fixed-length string, left-justified and right-padded, containing the current MSGFILE ddname.
status (output)
A fixed-binary(31) integer that contains one of the following values:
1
The message file was already open.
0
The message file was not open.
elrecl (output)
A fixed-binary(31) integer that contains the effective length of the record. Thus providing the number of bytes available for character data. If the file is not open, the elrecl is set to zero.
fdesc (output)
A fixed-binary(31) integer that contains the file descriptor of the Language Environment message file if it is in the POSIX file system, otherwise this field contains a value of -1.
fc (output/optional)
The feedback code passed by reference. The following condition can result from this service:
Condition  
CEE000 Severity 0
Msg_No N/A
Message The service completed successfully.