Guardian Application Conversion Guide DCT Limits Extension Addendum
Affected Procedures
Guardian Application Conversion Guide DCT Limit Extension Addendum—527418-001
1-9
LOCATESYSTEM
In Example 1-4 on page 1-9, LDEV returns the value 32767D if SYS_NUM specifies
the local system in any of these ways:
•
By name
•
By the value -1D
•
By default (that is, SYS_NUM is omitted)
Example 1-4. LOCATESYSTEM Procedure
Change calls of the form:
INT LDEV;
INT SYS_NUM;
INT SYS_NAME[0:3];
.
.
.
LDEV := LOCATESYSTEM(SYS_NUM, SYS_NAME);
To calls of the form:
LITERAL MAXLEN = 8;
INT(32) LDEV;
INT(32) SYS_NUM;
INT ERROR;
INT NAMELEN;
STRING SYS_NAME[0:MAXLEN - 1];
.
.
.
ERROR := NODENAME_TO_NODENUMBER_( SYS_NAME : NAMELEN
, SYS_NUM
, LDEV );