|
You need a small program to convert from/to a regular file, such as:
F* Use OVRDBF for the database file
F* Use OVRSAVF for the save file
FFILEIN IP F 528 DISK
FFILEOUT O F 528 DISK
IFILEIN NS 01
I 1 528 DATA
IDATA DS 528
OFILEOUT D 01
O DATA 528
(And no - this code sample is not an invitation for purists who don't like
the RPG cycle, or who have a problem with program described files, to
criticize !) ;-)
On Sun, 15 Jun 1997, Al Barsa, Jr. wrote:
> Hello All,
>
> In response to the request to download the COMMON library, I tried an
> experiment to save the library to a save file, so I could ZIP it and get a
> possible size to download. Given the fact that the internal size of AS/400
> objects is in 4 K blocks, and the fact that there is a lot of source here,
> this thing ought to ZIP up famously.
>
> It turns out that you can't CPYTOPCD a save file. How else can I handle
> this???
>
>
> Al
>
>
>
> Al Barsa, Jr.
> Barsa Consulting, LLC
> 400 > 390
>
> Phone: 914-251-9400
> Fax: 914-251-9406
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This is the Midrange System Mailing List! To submit a new message, *
> * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from *
> * this list send email to MAJORDOMO@midrange.com and specify *
> * 'unsubscribe MIDRANGE-L' in the body of your message. Questions *
> * should be directed to the list owner / operator: david@midrange.com *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List! To submit a new message, *
* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from *
* this list send email to MAJORDOMO@midrange.com and specify *
* 'unsubscribe MIDRANGE-L' in the body of your message. Questions *
* should be directed to the list owner / operator: david@midrange.com *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.