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




Is there a way to copy a file from CD in a way similar to the CPYFRMTAP
command?

I'd just use the IFS APIs to read the CD. This'll work back to V3R2 (if proper care is taken) and since you're writing the program, it's easy enough to make it work any way you like.

I'm thinking but haven't had the time to try to mess with Links and
paths thereof to create one (to a file on the CD) that I could point
CPYFRMPCD to (Copy from PC document). CPYFRMSTMF doesn't seem to have
the ADD records parm whereas CPYFRMPCD does.

CPYFRMPCD won't work, it's only capable of reading the old QDLS filesystem. It doesn't use the IFS interface and therefore is extremely limited in what it can do.

CPYFRMSTMF does have MBROPT(*ADD) -- so I don't understand your concern about that. Though maybe that's a newer feature, I don't remember when they added it.

CPYFRMIMPF also has MBROPT(*ADD), and is usually a more efficient solution for transporting file data since it's not limited to fixed-length records (which, frankly, are a waste of space on a CD if all you're going to do is copy them into a database file anyway.)

There's also QShell...


The problem is I need to send an AS400 file on a CD. Until recently I
mastered CDs as SaveRestore libraries but one file in the library will
be beyond the capacity of CD. A DVD is a solution that works great but
most who will get this have only CD readers. There are no PCs available
for FTP solutions.

I don't understand what you mean about PCs and FTP solutions? You don't need a PC to do FTP.

In fact, that's another interesting possibility. Use FTP to append the extra records from the CD onto your PF, then you don't need to restore it to a separate library and use CPYF.


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.