SNA NRJE User/Programmer Reference Manual (30292-90006)

132 Chapter5
User Intrinsics
Introduction
Parameters Common to NRJE Intrinsics
Some parameters are common to most NRJE intrinsics; each parameter
is described below.
Workstation Identification
The workstation identification (
Wsid
) parameter is common to all NRJE
intrinsics.
It is an eight-character input byte array.
It must always begin with a letter followed by alphanumeric characters
and be left-justified with trailing blank characters. If the workstation
identifier is less than eight characters long, it must be followed by
blank characters.
Intrinsic Result
A
Result
parameter is common to all intrinsics. It is an eight-element
integer array. When your intrinsic call is successful, the first element of
the
Result
array is set to zero.
See Table 5-2. and also see “Result Codes and Messages,” in the
Installing and Troubleshooting SNA NRJE manual or the SNA NRJE
Node Manager’s Guide.
The elements of the Result array are as follows:
Table 5-2 Result Array Structure
COBOL II
FORTRAN, and
PASCAL
Subscripting:
SPL
Subscripting:
Contents
RESULT(1) RESULT(0) Intrinsic error code.
RESULT(2) RESULT(1) File System error code.
RESULT(3) RESULT(2) NRJE management error code.
RESULT(4) RESULT(3) NRJE configuration error code.
RESULT(5) RESULT(4) NRJE spooling error code.
RESULT(6) RESULT(5) Parameter 1 associated with Intrinsic Error Code.
RESULT(7) RESULT(6) Parameter 2 associated with Intrinsic Error Code.
RESULT(8) RESULT(7) Parameter 3 associated with Intrinsic Error Code.