WRITE JOURNALNAME/JOURNALNUM
| COBOL | Java |
| EXEC CICS WRITE JOURNALNAME EXEC CICS WRITE JOURNALNUM |
ibmCics.writeJournal |
Syntax
ibmCics.writeJournal(new WriteOptions() [.fileName(<Filename>)] .journalName(<JournalName>) .jTypeId(<JTypeId>) .from(<From>) [.ridFld(<Ridfld>)] [.length(<Length>)] [.keySpec(<KeySpec>)] [.keyLength(<Keylength>)] [.noHandle(true)] );
Parameter(s)
<Filename>
This option is not used for this function.
<JournalName>
The name or number of the journal to write to.
<JTypeId>
ID to be placed in the journal record identifying its origin.
<From>
The data to be written to the journal.
<Ridfld>
This option is not used for this function.
<Length>
Optional length of the data to be written.
<KeySpec>
This option is not used for this function.
<Keylength>
This option is not used for this function.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL | Java |
EXEC CICS
WRITE
JOURNALNUM(21)
JTYPEID ('ES')
FROM (WS-DATA)
LENGTH (256)
END-EXEC.
|
ibmCics.writeJournal(new WriteOptions()
.journalName(21)
.jTypeId("ES")
.from(locDef.ws_Data)
.length(256)
);
|
EXEC CICS
WRITE
JOURNALNAME('ACCTSJNL')
JTYPEID ('XX')
FROM (WS-DATA)
LENGTH (256)
END-EXEC.
|
ibmCics.writeJournal(new WriteOptions()
.journalName("ACCTSJNL")
.jTypeId("XX")
.from(locDef.ws_Data)
.length(256)
);
|
