Guardian Application Conversion Guide

Using Sequential I/O (SIO) Procedures
Converting Other Parts of an Application
096047 Tandem Computers Incorporated 8–21
Table 8-2. SET^SYSTEMMESSAGESMANY Parameter
Bit D-Series System Message C-Series System Message
sys-msg-mask-words [0]:
.<5> -101 (Process deletion) -5 (Process deletion: Stop)
.<6> Unused -6 (Process deletion: Abend
.<8> Unused; see sys-msg-mask-words [3].<4:7> -8 (MONITORNET)
.<9> -112 (Job process creation) Unused
sys-msg-mask-words [1]:
.<4> -105 (Break on device) -20 (Break on device)
.<14> -103 (Process open) -30 (Process open)
.<15> -104 (Process close) -31 (Process close)
sys-msg-mask-words [2]:
.<8> -106 (Device type inquiry) Unused
sys-msg-mask-words [3]:
.<0> -102 (Nowait PROCESS_CREATE_ completion) Unused
.<1> -107 (Subordinate name inquiry) Unused
.<2> -108 (Nowait FILE_GETINFOBYNAME_ completion) Unused
.<3> -109 (Nowait FILENAME_FINDNEXT_ completion) Unused
.<4> -110 (Loss of communication with node) Unused
.<5> -111 (Establishment of communication with node) Unused
.<6> -100 (Remote CPU down) Unused
.<7> -113 (Remote CPU up) Unused
Determining an Opener
Using the
CHECK^FILE Procedure
Your existing program might obtain the address of an opener’s process ID using the
CHECK^FILE procedure and the FILE^OPENERSPID^ADDR parameter. For
example:
@opener^pid^addr := CHECK^FILE (common^fcb,
FILE^OPENERSPID^ADDR);
Convert your program to call the CHECK^FILE procedure using the
FILE^OPENERSPHANDLE^ADDR parameter. CHECK^FILE then returns the
address of the process handle rather than the process ID to identify the opener. For
example:
@opener^phandle^addr := CHECK^FILE (common^fcb,
FILE^OPENERSPHANDLE^ADDR);