×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Split it into two programs maybe?  One to extract individual customers
in the range, and call a separate program passing a single customer
number to create the print.  As long as you shut the print program down
properly you'll get a separate report for each call.

Cheers
Rob

-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]
On Behalf Of Amitava Banerjee
Sent: 15 May 2002 19:26
To: rpg400-l@midrange.com
Subject: Re: RPG400-L digest, Vol 1 #766 - 11 msgs


Hello Group
I am writing a program in ASSET. User will enter a Customer number
range. The program will create separate spool (report) for each
customer. I mean, if there is 5 customer numbers in the range entered,
program will create 5 reports. For that, I need to declare the Printer
file as 'User Controlled' and when there will be a change in customer
number I will close and reopen the printer file so that it creats
different spool. I know I can do it in RPG.

But my problem is ASSET does not allow to use OPEN and CLOSE statements
for printer and display file. So how can I do that in ASSET? TIA Amitava


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@midrange.com To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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