|
I would say stay away from NAMEFMT 1 unless you need to work with IFS structure that's not QSYS.LIB. I guess if you were to tell someone to be consistent using NAMEFMT 1 would be the best approach since it is used when accessing every IFS structure where as NAMEFMT 0 only works with QSYS.LIB. Two different ways to get to the same end. Your way, using NAMEFMT 1, does makes it easier to automate uploading of save file data to a 400. Thank you, Matt Tyler Mattt@wincofoods.com -----Original Message----- From: Vernon Hamberg [mailto:vhamberg@attbi.com] Sent: Thursday, September 19, 2002 21:29 To: midrange-l@midrange.com Subject: RE: R: FTPing Save File Matt I agree with you there. Then, in the question here, you probably would precreate the SAVF. We have a thing where customers are allowed to upload the results of some data collections. The files are ZIPped versions of SAVFs - you'd not believe how much a SAVF can be compressed. So our default for FTP is the home directory, so it's automatically in NAMEFMT 1 on the server. It makes it uglt, a little, when you want to change to NAMEFMT 0, because you can't even specify an IFS directory in that format. So I need to CD to /qsys.lib/vern.lib, say, then NAM 0. Vern At 04:56 PM 9/19/02 -0600, you wrote: >Hey no problem, just trying to help clear up any confusion about FTPing >(like I never type messages I think is absolutely clear to the reader ). >The NAMEFMT 1 deal seems to be a hassle if you are only using QSYS.LIB. > > >Thank you, >Matt Tyler >Mattt@wincofoods.com > >-----Original Message----- >From: vhamberg@attbi.com [mailto:vhamberg@attbi.com] >Sent: Thursday, September 19, 2002 16:39 >To: midrange-l@midrange.com >Subject: RE: R: FTPing Save File > >You're right - I misposted. I meant to say that to >use .savf without precreating it, you need to use >NAMEFMT 1 > >Oops! > >Vern > > NAMEFMT 1 works fine if you need to create the target file at run time, >but > > NAMEFMT is not required for putting a SAVF to the AS/400. I do this all >the > > time and did it this morning. > > > > Here is exactly what I did. > > > > AS400: CRTSAVF PGMT/PCSAVF > > > > PC: opened DOS window > > Ran FTP > > > > FTP: OPEN 400DEVL > > USER me > > PASSWORD mypwd > > BIN > > PUT D:\download\istktv5r1.savf pgmt/pcsavf > > QUIT > > > > > > That's is all there is to that. > > > > > > Thank you, > > Matt Tyler >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l. >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com 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-2025 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.