# TIBCNLOG - COBOL Batch

The TIBCO Log COBOL batch message writer program uses the API 'TIB_WRITE_SYSLOG' to write the messages to the IBM z/OS System Logger Stream file. You need to include the copybook TIBCWLOG. The JCL to compile and run is located in:

Data Set: USERHLQ .JCL

Member: RUNWLOG

Compile JCL: SXLCNCB

COBOL Call

    CALL 'TIB_WRITE_SYSLOG'
         USING WS-WRITE-LOG,
               WS-REASON
         RETURNING WS-RETURN-CODE
    END-CALL.

Copyright © TIBCO Software Inc. All rights reserved.