MPE/iX Intrinsics Reference Manual (32650-90905)
Chapter 9 577
Command Definitions (MAIL-PUTJCW)
PRINTOP
PRINTOP
NM and CM callable.
Prints a character string on the system console.
Syntax
CA I16V I16V
PRINTOP(
message,length,controlcode
);
Parameters
message
character array (required)
Passes the character string to be output. The string is limited to 72
characters, additional characters are ignored. Nonvideo-enhancing escape
sequences are stripped out.
length
16-bit signed integer by value (required)
Passes the length of the output string to be transmitted. If
length
is
positive, the length is in half words; if negative, the length is in bytes.
controlcode
16-bit signed integer by value (required)
Passes the cursor control value:
Value Meaning
0 Moves the cursor to a new line after the message is printed
%320 Does not move the cursor after the message is printed
NOTE If a null character (%000) is embedded in an array to be printed on the system
console through PRINTOP, then PRINTOP prints only the portion of the array
before the null character, regardless of the
length
specified.
Condition Codes
CCE (2) Request granted.
CCG (0) Not returned.
CCL (1) Request denied. A physical I/O error occurred. Further error analysis
through the FCHECK intrinsic is not possible.
Related Information
Manual Accessing Files Programmer's Guide