LOG command and call

You can use the LOG request online when you want a record to be written from an application program to the IMS™ log.

Your program can specify whatever information you want to be on the log. You may prefer to use it instead of EXEC CICS® journal commands so that all your DBCTL information will be on the IMS log instead of the CICS log. IMS uses different log codes to distinguish different types of log record. All user log records in the IMS log have the same code. Records logged using the LOG request will not be backed out if synchronization fails and the UOW is canceled.

The format of the LOG command is:
EXEC DLI LOG FROM(area) LENGTH(expression)
The format of the LOG call is:
CALL 'CBLTDLI' USING LOG␢,i/o-pcb,data-area
where LOG␢ is the address of a 4-byte area that contains the value of the LOG␢ function.


dfht43s.html | Timestamp icon Last updated: Monday, 5 June 2017