When transferring files to/from a z/OS system (mainframe) very often one has the need of specifying record length and/or block length like:
SITE RECFM=FB LRECL=177 BLOCKSIZE=8850
On a FTP upload/download task there is no way of specifying e.g. SITE commands before the transfer. A custom command task could be created to do this before the transfer, but because the transfer task has no way of inheriting the connection from the custom command, the SITE command has no effect on the transfer task following a custom command (the connection is reset between the tasks).
To succesfully transfer files to the Danish Central Motorvehicle Register, I need to be able to execute a SITE command that stays active during the file transfer.
Thanks in advance
Ernst Mikkelsen
Trifork A/S