Helpful hints for batch FTP jobs
Helpful hints for batch FTP jobs
Some helpful hints and notes when building MVS BATCH FTP JCL:
1) the CWD parm points the FTP job to the release datasets on the UCOP UCCMVSB machine
(the 'HOST' for the MVS FTP jobs).
2) the LCD parm points the FTP job to the release datasets on your own machine
(top-level DSN = USERACCT.).
3) MGET PDSNAME(*) (REPLACE
This transfers (copies) PDS members from PAYDIST.R@@@@.PDSNAME to useracct.R@@@@.PDSNAME
the "(*)" is required.
4) MGET SEQUENTIAL (REPLACE
This transfers (copies) the dataset from PAYDIST.R@@@@.SEQUENTIAL to useracct.R@@@@.SEQUENTIAL
the "(REPLACE" is required.
5) using LMKdir within the FTP job to allocate datasets (instead of
preallocating them) forces VB/lrecl=256/trks=15, and data can be transferred into
them with truncation but without error messages (not good).
6) having standard JCL line numbers in the right-hand columns of the parameter lines
in the FTP job can cause bizarre results. The FTP job apparently parses parm lines
by using end-of-line markers.
This document last updated 9/5/96