May I suggest the following to access z/OS files with SCP FTP:
Assuming that your TSO userid on z/OS is NEWBIE and your home directory
(
$HOME
) as declared in the OMVS segment is /u/newbie :
1) To access z/OS Unix, you may first issue the WinSCP line command:
2) a) To access z/OS MVS, you may first issue the WinSCP line command:
Please, do not forget the single quotes and the dot after the TSO userid.
b) Then, to access any MVS file, surround its complete name by single quotes:
If you execute the TSO command:
Command ==> tso profile
(which is for information only) and you see:
PREFIX(NEWBIE)
then with
MVS will try to access the file with completed name
NEWBIE.ABC.DEF.GHI.
If the command
Command ==> tso profile
shows NOPREFIX
you are accessing
ABC.DEF.GHI.
The recommended safe way is to always use with FTP single quotes around
the complete MVS dataset name
as in
to avoid a possible MVS dataset name completion.
I personally write
then I backspace one character and I paste the complete MVS dataset name.