Quick Way To Receive DATA From
PRODUCTION To TEST ENVIRONMENT (Using DDMF)
Use CRTDDMF in Test
Environment For The File:
Command:
CRTDDMF
FILE(QTEMP/FILE_NAME) RMTFILE(PROD_LIBL/PROD_FILE) RMTLOCNAME(ASIAMFG *IP)
Use CPYF To Copy
the Data Copied to QTEMP To Test Environment:
Command:
CPYF
FROMFILE(QTEMP/FILE_NAME) TOFILE(STSELVAN/FILE_NAME) MBROPT(*REPLACE)
CRTFILE(*YES)
Here,
File FILE_NAME is copied from Production to library STSELVAN with same name.
Thanks for sharing. I hit "Authorization failure on DRDA/DDM TCP/IP connection attempt.", may I know any way can pass through authorize ?
ReplyDeleteTry this command:
ReplyDeleteADDSVRAUTE USRPRF(RMTUSERID)
SERVER(QDDMSERVER)
USRID(youruserid)