CA IDMS/DC and CA IDMS UCF are fully integrated with CA IDMS/DB and the dictionary. They allow you to request both data communications and database services through standard subroutine calls generated (by the DML precompiler) from DML statements.
The following is a typical PL/I data stream containing DML statements. The CA IDMS/DC MAP IN, MAP OUT, and DC RETURN statements map in a user-specified employee ID, retrieve and display the specified information, and perform a DC RETURN naming TSK02 as the next task to be performed.
BIND MAP (EMPMAPLR);
BIND MAP (EMPMAPLR) RECORD (EMPLOYEE);
ACCEPT TASK CODE INTO (TASK_CODE_IN);
IF TASK_CODE_IN = 'TSK01' THEN
GO TO INITIAL_MAPOUT;
MAP IN (EMPMAPLR);
.
.
.
Database DML statements
.
.
.
MAP OUT (EMPMAPLR)
OUTPUT DATA YES
MESSAGE (DISPLAY_MESSAGE) LENGTH (80);
DC RETURN NEXT TASK CODE ('TSK02');
Online CA IDMS/DC statements request that the DC/UCF system perform data communications services. There are nine types of online CA IDMS/DC DML statements:
|
Copyright © 2014 CA.
All rights reserved.
|
|