Voted

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark Murphy/STAR BASE Consulting Inc.
Sent: 28 May 2015 19:19
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] CHGPF - Cannot drop fields

In any event, here is an RFE: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=71934


Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----Buck Calabro <kc2hiz@xxxxxxxxx> wrote: -----
To: wdsci-l@xxxxxxxxxxxx
From: Buck Calabro <kc2hiz@xxxxxxxxx>
Date: 05/28/2015 11:58AM
Subject: Re: [WDSCI-L] CHGPF - Cannot drop fields

On 5/28/2015 9:31 AM, Mark Murphy/STAR BASE Consulting Inc. wrote:
Really, we are going to force ourselves back to 5250 green screen just because that is the way it has always been? Seems to me since IBM owns both RDi and IBM i there could be some communication between the two teams to allow CHGPF, and ALTER TABLE to drop or shorten columns in the GUI. Is RDi the future for IBM i development or not. If it is, you have to be able to do this.

I'm genuinely torn. On the one hand, I am a green screen developer: I write code that will only execute on the green screen. DDS, subfiles, that stuff. I cannot test my code without a 5250 session. I always have one open. Switching from RDi to 5250 is fast and easy and I do it hundreds of times a day. What's one more time?

On the other hand, CHGPF is in fact a one-time 'object creation'
command. A compile, if you will allow me the liberty of stretching the meaning. It's part of development, not testing. It would rock to be able to CHGPF from inside RDi because that's part of the natural edit, compile cycle.

The difficulty, as Michael points out, is that the host behaviour of CHGPF is quite different to the host behaviour of CHGPGM. IBM i insists on issuing a message to warn you if your CHGPF is about to drop a column
- but only if issued interactively. Issue a CHGPF in a batch job and IBM i behaves differently - IBM i does not issue CPA32B2 at all in batch. Instead, it issues a CPD32CC *DIAG, CPD32CE *DIAG (which falsely claims an inquiry message was replied to!), and a CPF7304 *ESCAPE which terminates the CHGPF. The upshot of that is that not even changing the reply list will help!

In a last ditch effort to try a workaround, I did a CHGJOB
INQMSGRPY(*RQD) and tried it. No dice. IBM i says 'Hey, you're in batch so you get auto-killed'.

This is a situation with IBM i itself, not RDi. It'll probably take a DCR or a COMMON requirement to change CHGPF to allow a batch process to issue CPA32B2.

--
--buck

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

________________________________

**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.

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.