7.33 SET_TARGET_RECORD_LENGTH2
Use SET_TARGET_RECORD_LENGTH2
to set the length of a modified target record. This step is not required for the smaller records defined with DDL, but is required for large records defined with DDL2.
Syntax
For C:
#include "usrdecs" long record_len; short result; result = SET_TARGET_RECORD_LENGTH2 (&record_len);
For TAL:
?source usrdect int(32) record_len; int io_type; int result; result := SET_TARGET_RECORD_LENGTH2 (record_len);
For COBOL:
?CONSULT =EXTRACT (or =REPLICAT) 01 record-len PIC S9(8) COMP. 01 result PIC S9(4) COMP. ENTER C "SET_TARGET_RECORD_LENGTH2" using record-length giving result.