SQL/MP Programming Manual for COBOL

SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for COBOL529758-003
5-33
SQLCADISPLAY
prefix-length optional input
PIC S9(4) COMP
is the length of the prefix string for each output line. This length must be an
integer value from 1 to 15. If you include prefix, prefix-length is required.
suffix optional input
PIC X(length)
is a string to be appended to each output line. The default is a null string.
suffix-length optional input
PIC S9(4) COMP
is the length of the suffix string for each output line. This length must be an integer
value from 1 to 15. If you include suffix, suffix-length is required.
detail-params input
(record)
determines whether sequential I/O (SIO) or Enscribe I/O is used for writing to the
output file. A COBOL program usually omits detail-params and uses Enscribe
I/O (the default). The parameter detail-params points to a structure with this
TAL declaration:
STRUCT detail^params;
BEGIN
sio STRING;
out^fcb^1 INT .EXT;
out^fcb^2 INT .EXT;
END;
sio
specifies whether sequential I/O is used:
out^fcb^1
specifies the first output file control block if SIO is enabled.
out^fcb^2
specifies the second output file control block if SIO is enabled. To use
out^fcb^2, assign it a value greater than 0.
Y Use SIO; ignore output-file-number.
N Do not use SIO; write to output-file-number.