0. Follow the instructions in the PTF.
1. Sign off
2. Sign on
3. Copy (CRTDUPOBJ) the system QAQQINI file from QSYS to QUSRSYS if you want this to apply globally or a library somewhere
4. Use SQL to either update or add the ALLOW_DDL_CHANGES_WHILE_OPEN row to have the value *YES (our 720 one in QSYS doesn't have the row FWIW)
5. Set the library you placed the copy of QAQQINI to be the job's query options file library if not making it global via CHGQRYA command.
6. ADDPFTRG or CHGPFTRG the file
7. Profit?
For more information, refer to the DB2 for i SQL programming topic
collection in the IBM i Information Center at
http://www.ibm.com/systems/i/infocenter/ or Database category in the
IBM i Information Center at
http://www.ibm.com/systems/i/infocenter/.
Regards,
Kevin Wright | IBM i Developer, LPC
+61 2 8907 0284
LANSA
Blog | Facebook | LinkedIn | Twitter
There's a quiet revolution afoot: lansa.com/game-changer
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Tuesday, 13 February 2018 9:27 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: RE: New RFE request - ADDPFTRG / RMVPFTRG while file is in use
Kevin,
At V7R3, PTF 65523 applied, which supersedes SI61252.
Still receiving the same CPF3202 in use error.
I saw this in the cover letter, but not sure where and how if I need to set this.
After this change is applied, the ADDPFTRG and CHGPFTRG commands can be used immediately after changing the ALLOW_DDL_CHANGES_WHILE_OPEN QAQQINI option to '*YES'.
Paul
As an Amazon Associate we earn from qualifying purchases.