Trying to download a tape file from IBM ZOS system

Advertisement

blankjorge
Joined:
Posts:
2
Location:
Atlanta, Ga.

Trying to download a tape file from IBM ZOS system

Executing: "C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="mylog2.log" /ini=nul ^
/command ^
"open ftpes://xxxxxx:xxxxxxx1@char.mvs.us.ups.com/ -certificate="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -rawsettings MinTlsVersion=12" ^
"cd 'N311.TMP.DAY2'" ^
"pwd" ^
"lcd \\SVRP0002316F\USERS\UPSCITDataStore\MDrive\ICRIS_Data" ^
"lpwd" ^
"get AT.CCRIS.TP -transfer=ascii" ^
"exit"

Where AT.CCRIS.TP is a 1 Gigabyte tape file.

The log message is:
. 2019-10-21 11:10:18.241 B06283 Tape AT.CCRIS.TP
. 2019-10-21 11:10:18.241 R92178 Tape VN.CCRIS.TP
< 2019-10-21 11:10:18.257 250 List completed successfully.
. 2019-10-21 11:10:18.257 Directory listing successful
< 2019-10-21 11:10:18.257 Script: Can't get attributes of file 'AT.CCRIS.TP'.
< 2019-10-21 11:10:18.257 File or folder 'AT.CCRIS.TP' does not exist.
. 2019-10-21 11:10:18.257 Script: Failed
. 2019-10-21 11:10:18.257 Script: Exit code: 1
. 2019-10-21 11:10:18.257 Disconnected from server

What WINSCP commands will enable me to download tape files from an IBM ZOS Mainframe?

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: Trying to download a tape file from IBM ZOS system

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: Using WINSCP to download a mainframe tape file

This issue has been added to the tracker:
https://winscp.net/tracker/1801

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum