This function records data in an ILOG file.
ILOGR(lognum,rectype,{VAR|STEM|STACK},data)
Parameters
ILOG number where the record is written.
Record-type number for the record. Record types range from 100 to 32,767. Values less than 100 are reserved for use by CA Technologies.
A single line of text is supplied in a variable or as a literal.
Multiple lines of text are supplied in a stem variable.
Multiple lines of text are supplied from the stack.
Text to be recorded, as follows:
(if VAR was specified): A text string or variable.
(if STEM was specified): The name of a stem variable, including the period.
(if STACK was specified): The number of the stack containing the data lines.
Each data line can be no longer than 255 characters. The maximum number of data lines is 32,767, and the maximum number of characters in an entire record is 32,715 minus the number of lines returned.
Text records taken from stem variables are processed in the same order as the individual members were created.
ARG n MISSING OR INVALID
REQUESTED LOG NOT FOUND
ILOG IS FULL
REQUESTED LOG NOT ACCESSIBLE
STEM ITEM IS NUMERIC, NOT TEXT
STEM ITEM IS TOO LONG
Example
ilogr(0,1200,'VAR','Process 7 successful') /* Write text on ILOG file 0 */ ilogr(1,2321,'STEM','rec.') /* Write multi-line record from rec. variables */ ilogr(0,9999,'STACK',5) /* Write multi-line record using contents of stack 5 */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|