WRITE JOURNALNAME

Top  Previous  Next

WRITE JOURNALNAME writes a journal record from the specified data area to the XCICS log stream that corresponds to specified journal name.

WRITE   JOURNALNAME(data-value)
JTYPEID(data-value)
FROM(data-area)
[ FLENGTH(data-value) ]
[ PREFIX(data-value) ]
[ WAIT ]
[ NOSUSPEND ]

Options

FLENGTH

specifies, as a full word binary value, the length in bytes of the user data to be built into the journal record.

FROM(data-area)

specifies the user data to be built into the journal record.

JOURNALNAME(data-value)

specifies a 1- to 8-character journal name. The valid characters for a journal name are the upper-case letters A through Z, the numeric characters 0 through 9, and the special symbols $ @ and #.

The journal name must be defined in the XCICS Journal Control Table (JCT).

JTYPEID(data-value)

specifies a 2-character identifier to be placed in the journal record to identify its origin.

NOSUSPEND

does nothing: accepted only for compatibility reasons.

PFXLENG(data-value)

specifies the length (halfword binary value) in bytes of the user prefix data to be included in the journal record. 

PREFIX(data-value)

specifies the user prefix data to be included in the journal record. A data area must be provided in COBOL programs.

WAIT

does nothing: accepted only for compatibility reasons.