GDSX (Extended General Device Support) Manual
Service Routines
Extended General Device Support (GDSX) Manual—529931-001
8-44
ITC^OPENX
To make an item addressed by address2 the last item on the list, address1 should
specify the second occurrence of the array that specifies the list header
(list^header[1], which contains the address of the last item on the list).
address2 input
is the address of the element to be added to the list.
ITC^OPENX
This procedure provides a task with an ITC file number, which allows the task to
receive ITC messages from other tasks.
A task that wants to send messages to another task must have the receiving task’s
FCB address. The sending task obtains the FCB of the receiving task by calling
GET^ITC^FCB.
status returned value
INT:value
indicates the outcome of the call. The value of status is one of the following:
tcb-address input
INT .EXT:ref
is the current TCB address of the user task. See the following example for a way
to specify this address.
itc-filenum output
INT:value
is the returned ITC file number, which is an index to the FCB table where all the
information for all opened files is stored.
INT:value (Use with INSERT^ITEM.)
INT(32):value (Use with INSERT^XITEM.)
status := ITC^OPENX ( tcb-address !
i
,itc-filenum ); !
o
0 An ITC file number was acquired
Nonzero Number An error condition occurred