FTP Site Commands on DE FTP type job

Document ID : KB000123141
Last Modified Date : 18/12/2018
Show Technical Document Details
Introduction:
Using FTP Site Commands in FTP job type.
Question:
We have this FTP job with FTP SITE Commands specified, but the SPACE values are not being honored. Are we specifying the values incorrectly?
FTP Site Commands:
Cmd1("SITE DISP=(,CATLG) SPACE=(CYL,(25,2),RLSE) LRECL=180 RECFM=FB DSORG=PS")
Environment:
CA Workload Automation DE (dSries)
Answer:
Should specify the FTP Site commands in the FTP job same as when you run it from the command line.
This FTP site command string worked correctly;
SITE CYLINDERS PRIMARY=50 SECONDARY=05 LRECL=180 RECFM=FB DSORG=PS
Additional Information:

FTP site commands
Defines the commands that are to be executed prior to file transfer. You can use this section to send site-specific FTP commands to FTP servers.

Note: All the commands that the FTP site supports can be executed using FTP jobs.