Recently the company that I work for set up a LPAR test environment. I'm attempting to create a CL program that will allow me FTP a savf between the test environment and production.
When I process the CL, I do not get anything in the log file and the savf is not sent.
Here is the code that I'm using:
PGM
CLRPFM FILE(TRANSFER/QFTPSRC) MBR(TOTESTLOG)
OVRDBF FILE(INPUT) TOFILE(TRANSFER/QFTPSRC) MBR(TOTEST)
OVRDBF FILE(OUTPUT) TOFILE(TRANFER/QFTPSRC) MBR(TOTESTLOG)
FTP RMTSYS(MELTEST)
DLTOVR FILE(*ALL)
ENDPGM
The library TRANSFER exists on the prod box as well as the Lpar.
This is the Input file that I'm using:
open 192.168.100.23
user <username> <password>
! /******* Processed 04/12/2017 at 11:10:43 **********/
CD TRANSFER
LCD TRANSFER
NAMEFMT 1
BIN
put LXPRODSAVF.savf
ls *LXPRODSAVF*
quit
Any help would be most appreciated!
When I process the CL, I do not get anything in the log file and the savf is not sent.
Here is the code that I'm using:
PGM
CLRPFM FILE(TRANSFER/QFTPSRC) MBR(TOTESTLOG)
OVRDBF FILE(INPUT) TOFILE(TRANSFER/QFTPSRC) MBR(TOTEST)
OVRDBF FILE(OUTPUT) TOFILE(TRANFER/QFTPSRC) MBR(TOTESTLOG)
FTP RMTSYS(MELTEST)
DLTOVR FILE(*ALL)
ENDPGM
The library TRANSFER exists on the prod box as well as the Lpar.
This is the Input file that I'm using:
open 192.168.100.23
user <username> <password>
! /******* Processed 04/12/2017 at 11:10:43 **********/
CD TRANSFER
LCD TRANSFER
NAMEFMT 1
BIN
put LXPRODSAVF.savf
ls *LXPRODSAVF*
quit
Any help would be most appreciated!
Comment