Previous Topic: Accessing the DatabaseNext Topic: Assembling and Executing Programs


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:

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