Previous Topic: BIND RUN_UNITNext Topic: BIND TRANSACTION STATISTICS (DC/UCF)


BIND TASK (DC/UCF)

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.

Syntax
►►─── BIND TASK ──────────────────────────────────────────────────────────────►

 ►─┬───────────────────────┬─ ; ──────────────────────────────────────────────►◄
   └─ NODENAME (nodename) ─┘
Parameters
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.

Example

The following statement establishes communication with a DC/UCF system:

BIND TASK;
Status Codes

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.