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



Frank,

The CPYTOPCD command was written (my recollection) to copy files to QDLS.
Take a look at the CPYTOSTMF (Copy to Stream File) command instead.  It
sounds as though you're really not talking about spooled files are you?
Your example uses a physical file which I assume you create using the
CPYSPLF command.  Spooled files would definitely be something different.

Regards,
Andy Nolen-Parkhouse

> I've tried searching the archives and other web sites.  I'm trying to
> find
> out how to send or copy a spool file to an IFS folder(not into QDLS).
> I've
> tried using CPYTOPCD but it automatically places the unreadable
> document in
> QDLS.  Any ideas?
> 
>  CPYTOPCD   FROMFILE(QTEMP/SAVSPLF) TOFLR('FKANY') +
> TODOC(DOCUMENT.DOC) REPLACE(*YES) +
> TRNTBL(*NONE) TRNFMT(*NOTEXT)
> 
> I've also tried using DOCUMENT.TXT
> 
> Thanks,
> 
> Frank




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.