skip to main content

Library Routines : C$WRITELOG

C$WRITELOG
The C$WRITELOG library routine allows to add custom information to the isCOBOL log file. The iscobol.tracelevel property must be set to a value greater than 0 or the routine will have no effect.
Syntax:
 CALL "C$WRITELOG" USING text
Parameters:
Return code:
returnCode can be any numeric data item and provides additional information:
Examples:
Example - Write some custom information to the log
initialize trace-text
string "Customer in debt "
        ". Debt Amount : "
        into trace-text
call "c$writelog" using trace-text

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left