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



I suppose if I really, really wanted this to run in a batch setting, I might use TNAPI to embed the interactive command, so that I could answer the answer the message as I wanted...

http://www.think400.dk/files/tnapi.txt

Just pitching ideas over the fence...
-Eric DeLong

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of paul therrien
Sent: Monday, September 19, 2011 11:37 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries'
Subject: Re: [WDSCI-L] WDSC CHGPF / CRTPF on existing file not replacing object

Further research has shown that there is an interactive message that is
displayed when issuing CHGPF from a 5250 session:

"Change of file APPACHLOG may cause data to be lost. (C I) "

This interactive message is not handled in WDSC.

It doesn't appear that a change of this nature can be handled in WDSC and
must be handled with a 5250 session.

Does anyone know of a way that WDSC (or even RDP) handles this?



-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of Mark S. Waterbury
Sent: Monday, September 19, 2011 11:26 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] WDSC CHGPF / CRTPF on existing file not replacing
object

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





--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.