Status Parameter (NM) (new) [ Introduction to MPE XL for MPE V Programmers Migration Guide ] MPE/iX 5.0 Documentation
Introduction to MPE XL for MPE V Programmers Migration Guide
Status Parameter (NM)
(new)
It is good programming practice to check for status immediately after
using each intrinsic. Be sure you check the appropriate place, or you
may receive misleading information.
MPE V/E intrinsics typically used the condition code for error checking
and the PRINTFILEINFO intrinsic for error information. The CM versions
of these intrinsics use the same method. Some new intrinsics use the
status parameter for error management instead.
Take advantage of the status parameter, when you use the new NM
intrinsics beginning with "HP". Using the status parameter is analogous
to using both condition codes and PRINTFILEINFO.
The status parameter will return a 32-bit number that you read in two
parts. The first 16-bit field indicates the presence of a warning or
error with a code number associated with an error message. If the first
16 bits are not zero, the second 16-bit field indicates the subsystem
where the error occurred.
MPE/iX 5.0 Documentation