HPlogo MPE/iX Intrinsics Reference Manual > Chapter 6 Command Definitions (FLUSHLOG-GETUSERMODE)

GETLOCRIN

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

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 allocated to 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


Intrinsics FREELOCRIN, LOCKLOCRIN, LOCRINOWNER, UNLOCKLOCRIN LOCKGLORIN, UNLOCKGLORIN
Manuals Resource Management Programmer's Guide




GETJCW


GETORIGIN