|
As Phil said, things work best when you precreate the source physical file. Then ftp on the 400 adds the SRCSEQ and SRCDAT fields to YOUR data, which goes into the SRCDTA field. This saves you the extra CPYF step. If you send a file to AS/400 with ftp and there is no file already there, the server creates it as a flat file, record length that of whatever you sent. If you want fields, you need to predefine the physical. kmskeele@mail.volusia.k12.fl.us wrote: > > Thanks Chuck ! that did the trick > > -----Original Message----- > From: Chuck Morehead [mailto:cbmorehead@nokuse.com] > Sent: Monday, February 25, 2002 3:53 PM > To: midrange-l@midrange.com > Subject: Re: rpg source file > > You can probably use the CPYF command, specifying the FMTOPT(*CVTSRC) > parameter. Copy from the file FTP created and to the source file/member > that you want to use. > > Chuck > > ----- Original Message ----- > From: <kmskeele@mail.volusia.k12.fl.us> > To: <midrange-l@midrange.com> > Sent: Monday, February 25, 2002 2:48 PM > Subject: rpg source file > > > I am not very experienced with AS400. So I though I'd ask for direction > > here. I had FTP'd a 80 byte file to a AS400 library > > and it created the PF, but it is not a source PF. Is there a quick way to > > move the file into another source PF and have it > > convert the 80 byte records into ILERPG source format ? I searched > redbooks > > to no avail. TIA > > > > _______________________________________________ > 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 email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > _______________________________________________ > 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. -- Vern Hamberg Would you like to see a challenging little arithmetic puzzle that might get you or your kids or grandkids more interested in math? Go to <http://cgi.wff-n-proof.com/MSQ-Ind/I-1E.htm> Sillygism-- Something is better than nothing. Nothing is better than a ham sandwich. Ergo Something is better than a ham sandwich.
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.