|
|
NM and CM callable.
Prints character string on job/session listing device.
Syntax
CA I16V I16V
PRINT (message, length, controlcode);
Parameters
- message
character array (required)
Passes the string of ASCII characters to $STDLIST.
- length
16-bit signed integer by value (required)
Returns the length of the character string to be passed in
message. If length is positive, the
length is in half words; if negative, the length is in bytes. If
length exceeds the configured record length of the
device, successive records are written only on terminals.
- controlcode
16-bit signed integer by value (required)
Passes a carriage-control code.
Operation Notes
The PRINT intrinsic is limited in its usefulness; the full capability
of the file system is not available. For example, the FILE command is
not allowed and some file intrinsics cannot be used, because the
filenum parameter (obtained from the FOPEN/HPFOPEN
intrinsic) is not available to PRINT intrinsic users.
Condition Codes
- CCE (2)
Request granted.
- CCG (0)
End-of-data was encountered.
- CCL (1)
Request denied. An I/O error occurred. Further error analysis through
the FCHECK intrinsic is not possible.
Related Information
- Manual
Accessing Files Programmer's Guide
|