|
Amitava, I would say , get away from AS/SET if possible. But if you aren't able to his you can do the following : Define a dummy data model which contains the name of your printer file. No file type and field names needed. Afterwards you can use this data model to open and close your printer file. MarcC >>> Amitava.Banerjee@trin.net 15/05/02 20:25:56 >>> 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 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.