×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




That's right.  If you prompt the command, you'll notice that there are two
choices for the destination, either a stream file or a database file.
Stream files don't have to be in a folder, in the sense of QDLS objects, but
they have to be in an ifs directory(folder) that isn't part of qsys.lib.

A stream file is a collection of bytes on disk. Mostly what the operating
system can know about it is its size and location.  A qsys.lib file is a
different sort of object as far as OS/400 is concerned--it has externally
visible properties a stream file doesn't have like record length and record
count.

> -----Original Message-----
> From: DAhKow@ibl.intnet.mu [mailto:DAhKow@ibl.intnet.mu]
> Sent: Wednesday, September 19, 2001 4:22 AM
> To: midrange-l@midrange.com
> Subject: Re: CPYTOIMPF to a stream file (was: Using Telnet in Batch
> mode)
>
>
>
> > Norm wrote:
> > Can you post the CPYTOIMPF command string from your test.
>
>
> Yes here goes:
>
> In fact when I first tested the CPYTOIMPF, I specified as the TOSTMF
> parameter : QSYS.LIB/WORKSNDM.LIB/ZTEST2.FILE/ZTEST2.MBR.
> And this gave rise to the error message I mentionned.
>
> HOWEVER, after doing some reading on the web, where it is
> mentionned that
> AS400 documents are in fact stream files, I created a folder
> AATEST and in
> the TOSTMF parameter I specified:
> qdls/aatest/ztest2
>
> And it works! a document called ztest2 is created in that
> folder, and which
> I can e-mail as an attachment.
>
> Does it mean that stream files cannot exists as 'traditional'
> objects in a
> library and has to be in folders? Why does the
> QSYS.LIB/WOR .... syntax does not work?
>
>
>
> Regards
>


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