FTPS PUT to MVS z/OS mainframe - VisualCron - Forum

Community forum

SickPup404
2022-05-04T13:55:02Z
Has anyone been able to get a PUT done to a mainframe successfully? I'm trying to convert an FTPS script to be done in VC. Looking for a working example.

The current FTPS script [and my notes]:
ABC123 - [UserID changed]
PWD123 - [Password changed]
ASCII - [I have this set in the Connection in the "Extra Settings" tab]
QUOTE SITE RECFM=FB LRECL=1000 - [I could set this in a "Custom Command", but it reverts once that command completes. Never got it to work.]
PUT D:\LOCAL\FOLDER\NAME\FILENAME.EXT 'HLQ.MAIN.FRAME.FILE.NAME' - [I could never get this to work.]

The mainframe always returned messages that file was not using MVS DSName conventions. I tried to change the working directory to 'HLQ\MAIN\FRAME\FILE' and PUT FILENAME.EXT, use quotes on the name or folder, etc. but nothing worked.

TIA for any help/ideas/suggestions!
Scroll to Top