Tom,
Add a define for the VSAM user catalog to the FTP startup.
Ex.,
DEFINE FILE,PUBLIC='VSESPUC',DLBL=VSESPUC,TYPE=VSAMCAT
I have several VSEs so I FTP the data from each VSE to a central VSE then GET the data files from there using a .BAT file.
FTPSCRT.BAT -
Echo Off
CALL FTP -v -i -s:FTPSCRT.TXT 111.222.333.444
PAUSE
FTPSCRT.TXT -
Username
Password
dir scrt_input_*.*
erase scrt_input_*.*
bin
quote mode b
get vsespuc.scrt.input.vsea.esds SCRT_INPUT_CHHA.BIN
get vsespuc.scrt.input.vseb.esds SCRT_INPUT_CHHB.BIN
get vsespuc.scrt.input.vsec.esds SCRT_INPUT_CHHC.BIN
get vsespuc.scrt.input.vsef.esds SCRT_INPUT_CHHF.BIN
get vsespuc.scrt.input.vsep.esds SCRT_INPUT_CHHP.BIN
get vsespuc.scrt.input.vseg.esds SCRT_INPUT_CINA.BIN
get vsespuc.scrt.input.vse1.esds SCRT_INPUT_CHGA.BIN
get vsespuc.scrt.input.vse2.esds SCRT_INPUT_CHGB.BIN
get vsespuc.scrt.input.vse6.esds SCRT_INPUT_CHGX.BIN
get vsespuc.scrt.input.vse9.esds SCRT_INPUT_FRBT.BIN
get vsespuc.scrt.input.vsev.esds SCRT_INPUT_DEVD.BIN
get vsespuc.scrt.input.vsew.esds SCRT_INPUT_ZV52.BIN
get vsespuc.scrt.input.vsey.esds SCRT_INPUT_ZV43.BIN
get vsespuc.scrt.input.vsez.esds SCRT_INPUT_ZV42.BIN
quit
The ‘vsespuc.scrt.input.vse?.esds’ are the CMTREPO data sets from VSE that have been FTPed to the central VSE then I get them to my PC for WINDOWS SCRT processing.
I can share the hole process if you want it.
Steve
_______________________________________________
VSE-L mailing list
VS...@lists.lehigh.edu
https://lists.lehigh.edu/mailman/listinfo/vse-l
DEFINE FILE,TYPE=VSAMCAT,DLBL=CMTCAT,PUBLIC='CMT.USERCAT'
DEFINE FILE,TYPE=ESDS,DLBL=CMTREPO,PUBLIC='CMT.SCRT89.DATA.REPORT'
But I can't get it to work.
If you don't mind, what should my GET command look like?
Thanks
Tom
Tom,
I would think this might work,
get CMTCAT.CMT.SCRT89.DATA.REPORT pc.file.bin
What errors are you getting on the PC and from the TCPIP partition?