Previous Topic: DML Statements (Database)Next Topic: ABEND (DC/UCF)


DML Statements (Data Communications)

The following table lists DC/UCF DML statements by function.

Note: You cannot use DC/UCF system statements in the CA IDMS/DB environment.

Function

DML Statement

Description

Program Management

TRANSFER (LINK)

Passes control to another program with the expectation of receiving it back

 

TRANSFER (XCTL)

Passes control to another program with no expectation of receiving it back

 

DC RETURN

Returns control to the next higher level calling program

 

LOAD TABLE

Loads a program or table into the DC/UCF program pool

 

DELETE TABLE

Signals that a program has finished using a program or a table in the program pool

 

ABEND

Abnormally terminates the issuing task

Storage Management

GET STORAGE

Allocates variable storage from a DC/UCF storage pool

 

FREE STORAGE

Frees all or part of a block of variable storage

Task Management

ATTACH

Attaches a new task within DC/UCF

 

CHANGE PRIORITY

Changes the dispatching priority of the issuing task

 

ENQUEUE

Acquires a resource or a list of resources

 

DEQUEUE

Releases a resource

 

WAIT

Relinquishes control to DC/UCF while awaiting completion of an event

 

POST

Posts an event control block (ECB)

Time Management

GET TIME

Obtains the time and date from the system

 

SET TIMER

Defines a time-delayed event

Scratch Management

PUT SCRATCH

Stores a scratch record

 

GET SCRATCH

Retrieves a scratch record

 

DELETE SCRATCH

Deletes a scratch record

Queue Management

PUT QUEUE

Stores a queue record

 

GET QUEUE

Retrieves a queue record

 

DELETE QUEUE

Deletes a queue record

Terminal Management (Basic Mode)

READ TERMINAL

Requests a synchronous or asynchronous data transfer from the terminal to program variable storage

 

WRITE TERMINAL

Requests a synchronous or asynchronous data transfer from program variable storage to the terminal buffer

 

WRITE THEN READ TERMINAL

Requests a synchronous or asynchronous data transfer from program variable storage to the terminal buffer; and on a terminal operator signal, back to variable storage

 

CHECK TERMINAL

Ensures that a previously issued asynchronous I/O operation is complete

Terminal Management (Line Mode)

READ LINE FROM TERMINAL

Requests a synchronous data transfer from the terminal to the issuing program

 

WRITE LINE TO TERMINAL

Requests a synchronous or asynchronous data transfer from the issuing program to the terminal

 

END LINE TERMINAL SESSION

Terminates the current line I/O session

 

WRITE PRINTER

Requests transmission of data from a task to a printer

Terminal Management (Mapping Mode)

MAP IN

Requests a transfer of data from the terminal to program variable storage

 

MAP OUT

Requests a transfer of data from program variable storage to the terminal

 

MAP OUTIN

Requests a transfer of data from program variable storage to the terminal; and, upon a terminal operator signal, back to variable storage

 

INQUIRE MAP

Obtains information or tests conditions concerning the previous mapping operation

 

MODIFY MAP

Requests modifications of mapping options for a map

 

STARTPAGE

Begins a map paging session and specifies options for that session

 

ENDPAGE

Terminates a map paging session

Utility

BIND MAP

Identifies the location of a map request block (MRB) and initializes the MRB's fields

 

ACCEPT

Retrieves task-related information

 

SNAP

Requests a memory dump of selected parts of storage

 

SEND MESSAGE

Sends a message to a user, logical terminal, or list of users or logical terminals

 

BIND TRANSACTION STATISTICS

Defines the beginning of a transaction for the purpose of collecting transaction statistics

 

ACCEPT TRANSACTION STATISTICS

Returns the contents of the transaction statistics block (TSB) to program variable storage

 

END TRANSACTION STATISTICS

Defines the end of a transaction

 

KEEP LONGTERM

Either modifies a prior KEEP LONGTERM request or enables database longterm locks or database monitoring for records, sets, or areas

 

WRITE LOG

Retrieves a message from the data dictionary and sends it to a predefined destination