A General Interface to Director Facilities
DPROCEDURE
%externalintegerfn DPROCEDURE(%integer ACT, ADR)
This procedure provides a general interface to Director to allow
new facilities to be tested easily
ACT is an activity number and ADR the address of a record
ACT = 1
Returns Directors 'proclist'. In this case, ADR is the
address of a record of format:
%integername N, %integer A
the proclist entries are returned to address A onwards and
the number of entries is returned in N. Currently each
proclist entry is 56 bytes long, but is liable to change.
ACT = 2
Allows the caller to 'fork' another invocation of his own process.
ADR is the address of a record of format:
%integer INVOC, %string(31)PARAM
The new invocation number is returned in INVOC and PARAM
is placed in the UINF record of the new invocation as
UINF_SPOOLRFILE. The caller should disable the IO streams
before calling this procedure. Director disconnects the
streams and reconnects them subsequently to the new
invocation.
ACT = 3
Sends a message to another invocation of your own process.
ADR is the address of a record of format:
%record(PARMF) P, %integer INVOC, MSGTYPE, OUTNO)