HP 3000 Manuals

PRINT [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

PRINT 

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 

Intrinsics            None

Commands              None

Manuals               Accessing Files Programmer's Guide (32650-90017)
                      and Point-to-Point Workstation I/O Reference Manual 
                      (30000-90250)



MPE/iX 5.0 Documentation