Quick Way To Receive PROGRAM
SOURCES From PRODUCTION To TEST ENVIRONMENT (Using DDMF)
Use CRTDDMF in Test
Environment:
Command:
CRTDDMF
FILE(QTEMP/QRPGSRC) RMTFILE(PROD_LIBL/QRPGSRC) RMTLOCNAME(ASIAMFG *IP)
The
Create Distributed Data Management File (CRTDDMF) command creates a distributed
data management (DDM) file.
A
DDM file is used as a reference file to access a file located on a remote
(target) system in the distributed data management network. The DDM file on the
local system contains the name of the remote file and information identifying
the remote system. It also specifies the
method used to access the records in the remote file.
Use CPYF To Copy
the Required Program Sources Or Files Or Date To Test Environment From
Production:
Command:
CPYF
FROMFILE(QTEMP/QRPGSRC) TOFILE(STSELVAN/QRPGSRC) FROMMBR(HEB170) TOMBR(HEB170)
MBROPT(*REPLACE) CRTFILE(*YES)
Here,
Program HEB170 is copied from Production to library STSELVAN with same name.
NOTE: To copy PF or LF or CL or ILE
sources, create similar DDMF files for QDDSSRC/QCLSRC/QRPGLESRC and then use
CPYF command to get required source.
No comments