× 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.



You can copy something from a library, and we do it all time here. As a
matter of a fact, if you prompt on the COPYFRMIMPF command you will see
that there are two options for the from - FROMSTMF, and FROMFILE. The
FROMFILE format is library style.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Vernon Hamberg
Sent: Friday, January 25, 2008 8:02 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: CPYFRMIMPF


The problems with the question!

1. You probably CAN use CPYFRMIMPF to copy something from a library,
just that no one does it. The reason it MIGHT be possible is, that
you CAN refer to a library object using path naming, as is done with
non-library objects - things off of /root.
2. No one puts PC-style files in a library object - that is not the
purpose of library objects.
3. CPYFRMIMPF will do you NO good when run against an Excel file,
because those files have special structured data that the command
will not convert to a physical file.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.