TS/MP Pathsend and Server Programming Manual (G06.24+, H06.03+)

Examples
NonStop TS/MP Pathsend and Server Programming Manual132500
B-9
Pathsend Requester Example
?PAGE "GLOBAL DECLARATIONS FOR BREQ"
! The following are GLOBAL literals:
LIT nil^addr = -1D;
LIT true = -1;
LIT false = 0;
LIT e^eof = -1; ! end of file
LIT e^security^violation= 48; ! an access denied
LIT open^read^only = %2000;
LIT open^write^only = %4000;
LIT open^shared = %0;
LIT open^nowait^disk = %1;
LIT retry^path^failures = 1; ! sync depth param in the open
! The following are TRACE file literals:
LIT trace^read^input = 0;
LIT trace^pathsend = 1;
LIT trace^write^to^msg^log = 2;
LIT trace^begin^transaction = 3;
LIT trace^end^transaction = 4;
LIT trace^abort^transaction = 5;
LIT trace^cancel^request = 6;
LIT trace^write^blank^line = 7;
LIT trace^completed^io = 8;
LIT trace^io^timed^out = 9;
LIT trace^io^failed = 10;
LIT trace^retry^transaction = 11;
LIT trace^max^retries^exceeded = 12;