MPE/iX Intrinsics Reference Manual (32650-90875)

302 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
GETLOCRIN
GETLOCRIN
NM and CM callable.
Acquires local resource identification numbers (RINs) for a job/session.
Syntax
U16V
GETLOCRIN(
rincount
);
Parameters
rincount
16-bit unsigned integer by value (required)
Passes the number of local RINs to be acquired by the job/session. The
maximum number of RINs available is defined when the system is
configured.
Operation Notes
All local RINs required by a job/session must be acquired in a single call to GETLOCRIN. If
more local RINs are required, all local RINs must be released with the FREELOCRIN
intrinsic before GETLOCRIN can return more.
Condition Codes
CCE (2) Request granted.
CCG (0) Request denied. RINs already allocatedto this job. Additional RINs cannot
be allocated until these RINs are released.
CCL (1) Request denied. There are not enough RINs available for this call. RINs
not allocated to this job.
Related Information
Manual Resource Management Programmer's Guide