cancel
Showing results for 
Search instead for 
Did you mean: 

Variable in Select statement JDBC sender

former_member203627
Participant
0 Kudos

Hi All,

I am working on JDBC sender and this scenario is working fine. Now the legacy system has different enviroment for development, quality and production so I need to change the enviroment for each system.

Is there any way I can make it as variable and the movment it system checks it's development of XI system then it should pick up right enviroment for legacy system and that can be used in select statement.

My select statement looks like and highlighted one is the enviroment which needs to be a variable.

select digits(HMOUTLT) as HMOUTLT, hmprodu as HMPRODU, HMCHKOQ as HMCHKOQ, HMCHKiQ as HMCHKIQ, HMWKPER as HMKPER, HMLSDAT as HMLSDAT from bi5filmm.bsimhp where hmprflg = ' ' and rrn(bsimhp) < 3000 and hmextdt = '2007-12-24'.

I am not sure if value mapping can be used here or not.

regards

Ria

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member203627
Participant
0 Kudos

solved