Remote Data Area in AS400 |
Remote Data Area
A remote data area is a data area present on a remote system. You can access the remote data areas by using distributed data management (DDM).
Create a DDM data area
Create Data Area (CRTDTAARA) Type choices, press Enter. Data area . . . . . . . . . . . DTAARA > DDMDTARA1 Library . . . . . . . . . . . > EASYCLASS1 Type . . . . . . . . . . . . . . TYPE > *DDM Remote data area . . . . . . . . RMTDTAARA > RMTDTARA1 Library . . . . . . . . . . . > REMOTELIB Remote location . . . . . . . . RMTLOCNAME > REMOTEL Relational database . . . . . . RDB APPC device description . . . . DEV *LOC Local location . . . . . . . . . LCLLOCNAME *LOC Mode . . . . . . . . . . . . . . MODE *NETATR Remote network identifier . . . RMTNETID *LOC Text 'description' . . . . . . . TEXT > 'DDM data area'
The data area is created successfully.
Data area DDMDTARA1 created in library EASYCLASS1.
WRKOBJ DDMDTARA1
Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object Type Library Attribute Text DDMDTARA1 *DTAARA EASYCLASS1 DDMDTAARA DDM data area
DSPDTAARA DDMDTARA1
Display Data Area System: Data area . . . . . . . : DDMDTARA1 Library . . . . . . . : EASYCLASS1 Type . . . . . . . . . : *DDM Length . . . . . . . . : 62 Text . . . . . . . . . : DDM data area Value Offset *...+....1....+....2....+....3....+....4....+....5 0 '*LOC *NETATR REMOTEL *LOC *LOC RMTDTARA' 50 '1 REMOTELIB '
We can use all commands such as RTVDTAARA, DSPDTAARA, CHGDTAARA, and DLTDTAARA with the DDM data area.
Related Post
Data area in AS400
Local Data Area, Group Data Area and Program Initialization Parameter Data Area in AS400