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


  • Subject: Re: Spool data no
  • From: "Jim Franz" <jfranz@xxxxxxxxxxxx>
  • Date: Sat, 11 Nov 2000 16:08:08 -0500

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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.