Question

  Asked: Jan 10 2008   7:10 PM GMT
  Asked by: Zonar


changing qpquprfil in query


AS/400 Query, QPQUPRFIL

how do i change the qpquprfil in as/400 query. i have doone it before and i know it is doabe but ican't rember how. i mean thesystem one not the one at the user level??

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



If you mean, how do you change the system-supplied qpquprfil file so that it uses different outq/forms/other attributes, you would simple use the prompted CHGPRTF command and change whatever printer file parameters you wanted. You would have to repeat this change process every time you put up a new release of OS/Query.

If you wanted to change it for just a single run instance, you would override it with a OVRPRTF command, again specifying the parameters of interest.

Carter
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Gilly400  |   Jan 17 2008  12:50PM GMT

Hi,

Best to use the OVRPRTF option for this.

It’s never a good idea to change the system-supplied objects. If you do, then every time you upgrade the OS, you’ll need to go through and change them all again. Then you wonder which ones you changed, how many of them you changed, not to mention exactly which parameters you changed.

If you can keep to using overrides, then you won’t need to do this.

Martin Gilbert.

 

VBOTone  |   Jan 17 2008  4:17PM GMT

Actually, it is easy to keep track of changed objects with a little organization. We have placed an IBM_CHANGE library high in the system library list to avoid redundant programming efforts.

 

Gilly400  |   Jan 24 2008  3:15PM GMT

Hi,

The idea of an IBM_CHANGE library is ok for most things, but you can still get problems with this when you get OS upgrades.

For example you want to change the standard attributes of one of the system supplied print files, so you take a copy to your IBM_CHANGE library and change the attributes of your copied print file. Along comes a new OS upgrade, with a new version of the print file - any programs that use this print file will find your *old* version of the print file instead of the new one. The OS programs that use this print file may crash or dump, until you remove your copied print file or replace it with a copy of the one from the new OS (with your attribute changes re-aplied).

Personally I think it’s best to avoid changing system objects as far as possible.

Cheers,

Martin Gilbert.