× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can you locate the file library (via *Libl -- RTVOBJD *LIBL/FILEOBJ) first,
then ADDLNK to point to that object?  Then you can CPYFRMSTMF, using the
added link to refer to the target file.

CPYFRMIMPF assumes you have some sort of delimited file.  It is not intended
to duplicate the function of CPYFRMSTMF.

Eric DeLong
Sally Beauty Company
MIS-Sr. Programmer/Analyst
940-898-7863 or ext. 1863



-----Original Message-----
From: Richard B Baird [mailto:rbaird@esourceconsulting.com]
Sent: Wednesday, March 27, 2002 10:12 AM
To: midrange-l@midrange.com
Subject: CPYFRMIMPF question.



Hey all,

I want to copy a pc file (Flat, fixed length, fixed format) to a physical
file on the 400 (flat, fixed length fixed format).

I want to use *libl to let the os find the file, rather than specifying
library name.

I've tried CPYFRMSTMF, and it does the copy just the way I want it to, but
it wants a full qualified path name -
qsys.lib/mylib.lib/myfile.file/mymember.mbr   - no option for *libl.

I've tried CPYFRMIMPF, and it lets me specify *libl on the qualified
library/file parm, but it requires a field definition file.

My question is, if my file is not delimited, is flat, no field conversion
is needed, why do I need a field definition file?  am I missing a parameter
or something?

Thanks guys!

Rick

_______________________________________________
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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.