

Introduction to CA IDMS Data Manipulation Language › Operating Environments › Programming in the DC/UCF Environment
Programming in the DC/UCF Environment
DC/UCF application programs can use both database and online DML statements.
Online DML statements perform the following types of functions:
- Program management statements govern flow of control and abend processing
- Storage management statements allocate and release variable storage
- Task management statements provide runtime services that control task processing
- Time management statements obtain the time and date and define time-related events
- Scratch management statements create, delete, or retrieve records from the scratch area
- Queue management statements create, delete, or retrieve records in a queue area
- Terminal management statements transfer data between the application program and a terminal
- Utility function statements retrieve task-related information or statistics, send messages, and monitor access to database records
- Recovery statements perform functions relating to database, scratch, and queue area recovery in the event of a system failure
Example
The following example illustrates how online DML statements access the database and perform data communications functions. Specifically, this example maps in data entered from the terminal, retrieves and displays the specified information, and performs a DC return, naming TSK02 as the next task to be performed.
#MREQ IN,MRB=EMPMAP,INDATA=YES,COND=ALL,ERROR=ERRORTN
#MREQ OUT,MRB=EMPMAP,OUTDATA=YES,OPTNS=NEWPAGE
#RETURN NXTTASK=TSK02
Copyright © 2014 CA.
All rights reserved.
 
|
|