Herman.
get qsys.lib/ana01d10.lib/vdc.s031.file/vdc.s031.mbr
hth...
Steve
Rename the file or create a logical file without the dot, or copy the
file to another file with out the dot.
As you can see, you can't have a dot in the filename of a file you want
to FTP. Note: You may be able to copy the file using Windows Explorer.
Or since you are going from AS/400 to AS/400. save the file to a save
file, FTP the save file in binary format to a empty save file on the
destination AS/400 and restore the file there.
--
Charles Wilt
Miami Luken, Inc.
e-mail: charle...@worldnet.no.spam.att.net
--->remove the no.spam.
In <36B5DB9D...@randstad.nl>, on 02/01/99
at 05:51 PM, Herman Koopmanschap <Herman_Ko...@randstad.nl> said:
>We are trying to get an AS/400-file which has a . (dot) in it's filename.
>Is there a way in which we can get this file by FTP from one AS/400 to
>another AS/400?
>We use the next command: get ana01d10/vdc.s031.vdc.s031
>For library ana01d10 file vdc.s031 member vdc.s031
>We get errormessage: 501 Specified object name too long, limit is 10
>characters,
>Herman.
--
-----------------------------------------------------------
boo...@ibm.net
Booth Martin
-----------------------------------------------------------
The correct syntax is:-
get /QSYS.LIB/ANA01D10.LIB/VDC.S031.FILE/VDC.S031.MBR
Chuck Luttor
thank you,
Herman Koopmanschap.
Steve Brazzell wrote:
> You can use NAMEFMT 1, in which case the get command would be:
>
> get qsys.lib/ana01d10.lib/vdc.s031.file/vdc.s031.mbr
>
> hth...
>
> Steve
>
> We are trying to get an AS/400-file which has a . (dot) in it's
> filename. Is there a way in which we can get this file by FTP from one
> AS/400 to another AS/400?
> We use the next command: get ana01d10/vdc.s031.vdc.s031
> For library ana01d10 file vdc.s031 member vdc.s031
> We get errormessage: 501 Specified object name too long, limit is 10
> characters
I realize there are other valid responses, but FWiW...If available, the
following FTP command request prior to the GET should work: QUOTE RCMD OVRDBF
NewName TOFILE(A01D10/VDC.S031)
MBR(VDC.S031) OVRSCOPE(*JOB)
Then use instead: GET NewName
Regards, Chuck
All comments provided "as is" with no warranties of any kind whatsoever.