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



Hi, Paul:

That's just the way CHGPF works. First, it compiles the new *FILE definition into QTEMP, then compares that file to the original to figure out what is different, and then does an SQL ALTER TABLE "under the covers."

Try issuing the CHGPF command from a "green-screen" 5250 session, and you will see the same thing.

Are you sure your file is not getting modified? Perhaps the file was "in use" (locked) and that prevented the command from completing? CHGPF requires *EXCLusive use of the object.

Hope that helps,

Mark S. Waterbury

> On 9/19/2011 11:16 AM, paul therrien wrote:
I am trying to compile a PF from WDSC (WDSC 7.0.0) to my library. The file
already exists. So I have attempted to use the CHGPF option. The job runs
on the iSeries but executes a CRTPF to QTEMP and goes no further.



When I prompt the CHGPF is see this as the command this is about to be
executed:

CHGPF FILE(PJTLIB/APREF) SRCFILE(PJTLIB/QDDSSRC) SRCMBR(APREF)
OPTION(*EVENTF)

But when the job runs I get a CRTPF spool file output with this confirmation
message:

* CPC7301 00 Message . . . . : File
APREF created in library QTEMP.



I have looked for configuration options on the CHGPF and CRTPF commands but
have been unsuccessful finding them.

Any help would be greatly appreciated.



Paul



Paul Therrien

Orion South, Inc.

(504) 374-9551

(800) 487-7173; Ext. 551

(504) 368-9768; Ext. 551

<mailto:ptherrien@xxxxxxxxxxxxxxx> ptherrien@xxxxxxxxxxxxxxx






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.