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