The BIND TASK statement initiates a system task when the operating mode is DC_BATCH. This statement establishes communication with the DC/UCF system and, if accessing system queues, allocates a packet-data movement buffer to contain the queue data. Once a task is started, the program can issue any number of consecutive BIND-READY-FINISH sequences.
►►─── BIND TASK ──────────────────────────────────────────────────────────────► ►─┬───────────────────────┬─ ; ──────────────────────────────────────────────►◄ └─ NODENAME (nodename) ─┘
Specifies the 1- to 8-character name of the node to which the task will be bound. Nodename is either the symbolic name of a user-defined field that contains the node name or the node name itself enclosed in single quotation marks. The specified node name must match the node named in the DDS statement at system generation.
The following statement establishes communication with a DC/UCF system:
BIND TASK;
Upon completion of the BIND TASK function, the ERROR_STATUS field in the IDMS DC communications block indicates the outcome of the operation:
|
Status code |
Meaning |
|---|---|
|
0000 |
The request has been serviced successfully. |
|
Copyright © 2014 CA.
All rights reserved.
|
|