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



Willie,
 
The best way I know of to check the status of a spool file is to place a data 
queue on the output queue.  All a CPYSPLF will do is copy the data over into a 
flat file.
 


"Willie J. Moore" <WJMoore@xxxxxxxxxxxxxxx> wrote:
I need some help with reading a file in CL. I have a CL that does the following:

CPYSPLF FILE(QPRTSPLF) TOFILE(QS36F/SPLFPRT) 

LOOP: RCVF /* Read file SPLFPRT */ 

What I need to do is check the &status field for an HLD. If it finds this then 
it will go to the LOOP and read again. If it does not find HLD, it will 
continue.

Any help would be appreciated.
Willie Moore


_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.




Sincerely, 

Richard T. Molder
President
Moldrich Solutions

Have a nice day unless you have made other plans.
                
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

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.