On Fri, 26 Oct 2007 15:02:50 -0500, Aaron Walker wrote:
>
>If you want to change directory to a z/OS Unix location, remove the tick
>marks:
>
>cd /some/directory/
>
Apparently not generally so, as for example with a Solaris
client and a z/OS server:
ftp> put |date ./foo.bar
200 Port request OK.
501 Invalid data set name "./foo.bar". Use MVS Dsname conventions.
Far more annoying is that the "lcd" command doesn't really
change your local directory as chdir() would:
[EMAIL PROTECTED]:132$ cd /tmp
[EMAIL PROTECTED]:133$ ftp localhost
220-FTPD1 IBM FTP CS V1R7 at MVS, 21:13:31 on 2007-10-26.
Command:
lcd /etc
HFS directory /etc is the current working directory.
Command:
! pwd
/u/user
... so I can't do an LCD then a shell escape to list the
contents of the directory I changed to as I could on a
normal UNIX system.
Command:
quit
>>> QUIT
221 Quit command received. Goodbye.
[EMAIL PROTECTED]:134$ pwd
/SYSTEM/tmp
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html