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



Hello-

Recently we have started using lp5250d to output as400 spool files to 
text, which we then process for use in another manner. Since the Linux 
process does not know whent the complete spool file has been received, it 
checks the end of the file for specific content. If the content exists 
(*** END OF REPORT ***) then it assumes the document has been spooled and 
is ready for further processing.

What we have found is that for some reason lp5250d sometimes does a 
newfile on a page break. This happens both with small three page reports, 
as well as 1000 page reports.

The config we use is:

prlit03-f {
        host = rtb48.baltic
        env.DEVNAME = prlit03
        env.IBMMFRTYPMDL = *WSCST
        env.IBMWSCSTNAME = QWPDEFAULT
        env.IBMWSCSTLIB = *LIBL
        outputcommand = scs2ascii > 
/var/spool/lp5250d/prlit03/prlit03-`date +%y%m%d.%H`-$$.txt
}

This gives the generated file the date and hour when the file was created, 
as well as the process number. In the split file cases, the first half of 
the file is with one process number and the second half of the file is 
with another process number.

What could be a cause for this behavior?

Thanks

Elmars

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.