|
This issue is normally handled with the system reply list. One can let the system answer her own messages automatically. WRKRPYLE 0.02 Euro Anton Gombkötö At 16:08 11.11.00 -0500, you wrote: >Why not put the chgwtr cmd in a clp that calls the RPG pgm? >It will happen every time. If a clp is not involved, then from >within the RPG, before opening the printer file, use qcmdexec >to run the chgwtr cmd. >I can't test this, but seems it should work. >jim > > > scenario: > > > > 1.The printer file ABC is created with the following attributes : > > Printer Device : XYZ > > Spool the data - *NO > > 3.Printer Device XYZ is started > > 2. The Program generating this report ABC is executed > > 3. At the end of the execution, if the report gets generated, then the > > output data has to get printed automatically on Device XYZ. But at this > > point of time , system issues a inquiry message to QSYSOPR CPA3395 - > > Load Form type &1 on writer &2 > > 4. Only on replying 'I' or 'G' the printing starts > > > > We dont want this inquiry mesage to appear even though the forms type > > has changed. > > > > we tried doing this : > > > > CHGWTR > > FORMS TYPE : *YES > > MESSAGE OPTIONS : *NOMSG > > > > But these changes wont stay once we end the writer. If we start the > > writer again, the message option will be back to *INQMSG > > > > Please suggest the solution for the same. > > > > Regards > > Srini > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Thousands of Stores. Millions of Products. All in one Place. > > http://shopping.yahoo.com/ > > +--- > > | This is the RPG/400 Mailing List! > > | To submit a new message, send your mail to RPG400-L@midrange.com. > > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > > | Questions should be directed to the list owner/operator: >david@midrange.com > > +--- > >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.