WRITELOG
NM and CM callable.
Writes database and subsystem file records to the user logging file.
User logging (LG) or system supervisor (OP) capability is required.
I32 U16A I16 I16 I16
WRITELOG(index,data,length,mode,logstatus);