|
It's only been a year or so for me, so I'll rack the brain and try to remember... The syntax is odd. I found that oftentimes I needed to use double quotes. For example, to transfer file MYLIB/UPLOAD to MVS file a.b.c.d.g0012v00, I did the following FTP MVS <login...> CD "'A.B.C.D'" <-- NOTE THE DOUBLE QUOTE AND THEN THE SINGLE QUOTE BIN PUT MYLIB/UPLOAD G0012V00 QUIT You need a double quote followed by a single quote, followed by the path, then single then double. Or, I think you could PUT MYLIB/UPLOAD "'A.B.C.D.G0012V00'" ++++++++++++++++++++++++++++++++++++++++++++ Go... FASTER! Without an upgrade! With ARCTOOLS/400(tm) http://www.arctools.com info@xxxxxxxxxxxx DCSoftware, Inc. Ph: (508) 435-8243 Fax: (508) 435-4498 ++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: qsrvbas@xxxxxxxxxxxx [mailto:qsrvbas@xxxxxxxxxxxx] Sent: Tuesday, March 18, 2003 6:59 PM To: midrange-l@xxxxxxxxxxxx Subject: RE: File transfer from AS/400 to MVS It's been close to 10 years since I ran into this so I don't recall details; but Scott's suggestion matches closely with what I remember. There was an oddity with how MVS FTP saw dataset names, at least from an AS/400 for some reason, and adding the correct single-quotes fixed it. The MVS guys I had to work with seemed to know about it once they dug deep enough. Tom Liotta midrange-l-request@xxxxxxxxxxxx wrote: > 6. RE: File transfer from AS/400 to MVS (Ingvaldson, Scott) > >I'm guessing that "ROOMS03" is your username. When you logged on you >probably saw a message similar to: 230 ROOMS03 is logged on. Working >directory is "ROOMS03.". > >To FTP the file to dataset DJM1.CP000000.ADA3.FFB.RMST on MVS you need three >single quotes (''') on each end of the DSN, as in: >put ourlibrary/ourfile.member '''djm1.cp000000.ada3.ffb.rmst''' > >-----Original Message----- > >I hope someone out there can help us. This should not be this difficult. >We are attempting to use FTP to send a physical file from our V4R1 AS/400 to >another company's system that is running MVS and OS/390. to do this, we >execute the following two commands after entering the user id and password: >quote site recfm=fb lrecl=160 blksize=27840 primary=5 secondary=2 cy >put ourlibrary/ourfile.member 'djm1.cp000000.ada3.ffb.rmst.origbk(+1)' > >This returns the following error messages: >550-SVC99 Return code=4 S99INFO=0 S99ERROR=38668 HEX=970C S99ERSN code >X'000042CE'). >501 Invalid data set name "djm1.cp000000.ada3.ffb.rmst.origbk(+1)". Use MVS >Dsname conventions. -- -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.