Jeffrey,

 I have not heard that CPYTOIMPF supports OPNQRYF's ODP.  You would
probably have to do a CPYFRMQRYF first to a temporary file and then do the
CPYTOIMPF.

 -mark
----------------------
>         CLP That does opnqryf selection from a PF.. Then is supposed to
use this ODP as the input to a cpytoimpf  but the cpy is ignoring
         the opnqryf and copying the entire file to the IFS..  What am I
missing, do I need an ovrdbf to specify an shared ODP ??

         TIA,
         JMS...

PGM

       OPNQRYF    FILE((CUSTORD)) QRYSLT('SHPSTS = '' ''') +
                           OPNSCOPE(*JOB)

             CPYTOIMPF  FROMFILE(CUSTORD) +
                          TOSTMF('/GFBF/orders.txt') +
                          MBROPT(*REPLACE) RCDDLM(*CRLF)

             CLOF       OPNID(CUSTORD)


Jeffrey Silberberg
CompuDesigns, Inc.
Atlanta, GA. 30350
(770) 399-9464

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





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