On 28-May-2015 10:57 -0500, Buck Calabro wrote:
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.

Hmm. Odd. I did not recall that behavior. I just tested on v5r3 and saw exactly that. I thought the effect had always been the inquiry msg CPA32B2, and that an auto-reply [with the message default] was the effect for batch with Inquiry Message Reply Handling (INQMSGRPY) of required (*RQD); and that the System Reply List (*SYSRPYL) option was also available in batch. Given the clearly incorrect implication of msg CPD32CE, per the conspicuous contradiction of the claim of the prior inquiry that is not visible and only the msg CPD32CC being logged prior, [if it were me affected, then] I would choose to report the issue as defect.


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.