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



I am not sure if I completly understand what you are looking to do, but perhaps 
a combination of the following:
1. Define your print file as USROPN
2. Using QCMDEXC or the _system function, issue an OVRPRTF command to set the 
form type based on some value in your data and specify DFRWRT(*NO)
3. Open the printer file 
4. Start printing data - The file will start printing as soon as there is 
enough data in the buffer (that is what the DFRWRT(*NO) is for.
5. When you are at a "segment break",. close the printer file.
6. Repeat steps 2 - 5 as needed.


 
Jeff Young 
Sr. Programmer Analyst
Dynax Solutions, Inc.
A wholly owned subsidiary of enherent Corp.
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 
IBM  Certified Specialist- e(logo) server i5Series Technical Solutions Designer 
V5R3
IBM  Certified Specialist- e(logo)server i5Series Technical Solutions 
Implementer V5R3 


  
 





----- Original Message ----
From: Michael Rosinger <mrosinger@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Wednesday, January 3, 2007 3:32:19 PM
Subject: segmentation of spooled output on the iSeries...


List,

I have another mainframe-to-iSeries question for you.

On our VSE system, every night, we print tens of thousands of 1-page letters 
on our Xerox laser. The program on the VSE system creates 1 large "report" 
to the spooler containing all of the letters in a certain order. The program 
"segments" the output on a logical boundary, usually a combination of number 
of letters and form code/type. The reason this is done is so that printing 
of letters can be started (i.e. sent to the Xerox) BEFORE the program has 
completed processing of all the letters for the run. This saves time, 
allowing the operator to get a "jump" on the printing by not having to wait 
until the program has finished to be able to release the print.

My questions:

Is there a way to duplicate this process on the iSeries?

Can a COBOL program interface with the system so that it can "segment" the 
print file output?

Would it be as simple as closing and re-opening the print output file? What 
is the best way to handle this?

As always, TIA!


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.