|
Take a look at CHGFTPA on your system and see what the value is. It's *HOMEDIR on our machine, so it points to an IFS folder, therefore NAMEFMT has to be 1. Not knowing this, when I tried to CD to a file using the library naming format, it failed. If NAMEFMT is 0 (library style) and you CD /, it will change to NAMEFMT 1 automatically. BTW, you cannot change to NAMEFMT 0 if your current directory is in the IFS (not SQYS.LIB) At 06:17 PM 4/26/02 +0100, you wrote: >On Friday 26 April 2002 1:15 pm, Vernon Hamberg wrote: > > Right on. > > > > But I found a funny wrinkle, at least in v5r1, which prompted this in > > the first place. You can set FTP to use either *CURLIB or *HOMEDIR > > special values for initial directory. *HOMEDIR forces the NAMEFMT 1. > > But if didn't know this and tried to CD yourlib/yourfile, in NAMEFMT 0 > > style, it fails. > >Hmm. I've only done this at V4R4 & R5 and it's been okay. I wonder if it >a leading '/' that triggers the system to switch convention. I guess it's >covered in the docs somewhere, so I'll have a look this w/e as it's got >me puzzled now. > >Regards, Martin >-- >martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\ >DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / >Source free test environment tools and others (file/spool/misc) X >[this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.