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



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 01/27/2017 12:46:42
PM:
Thanks Dave. I have used indicator variables in my sql so I'm familiar
with the concept. I think what through me was the term "extended
indicator array".

Yes, the indicator array is defined the same. The difference is
in the values that can be used in the indicator array -- as demonstrated
by the following lines of code. I believe the standard indicator array
has only two values: 0 and -1. The extended indicator array adds the -2,
-5, and -7 values plus an additional meaning for the 0 value.

IMLFDTL_Ind.IMLFDTLTID = IGNORE_VALUE; // ignore generate-always column
IMLFDTL_Ind.AddByPgm = USE_VALUE; // tell DB2 to use current value
IMLFDTL_Ind.AddByUsr = SET_DEFAULT; // take ddl-defined default
IMLFDTL_Ind.AddTs = SET_DEFAULT; // take ddl-defined default
IMLFDTL_Ind.ChgByPgm = USE_VALUE; // tell DB2 to use current value
IMLFDTL_Ind.ChgByUsr = SET_DEFAULT; // take ddl-defined default
IMLFDTL_Ind.ChgTs = IGNORE_VALUE; // ignore generate-always column


Sincerely,

Dave Clark

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.