Hi,
I've been using SQL in my JSL, and declared 4 variables and set required value.(see below script)
What I want is to create a new window as user interface.. when run this JSL, pop up the window first to allow user to input different values for the variables.
For example:
1st run JSL, user input: x,y,z,n for the 4 variables, to achieve the effect like below:
set @spec = 'x'
set @opn = 'y'
set @Loss = 'z'
set @day = n
2nd run JSL, user input: a,b,c,m for the 4 variables, to achieve the effect like below:
set @spec = 'a'
set @opn = 'b'
set @Loss = 'c'
set @day = m
=========================================
Script:
Names Default To Here( 1 );
ODBC = Create Database Connection( "___" );
SQL ="
declare @spec varchar(50)
declare @opn varchar(50)
declare @Loss varchar(50)
declare @day int
set @spec = 'xxx'
set @opn = 'yyy'
set @Loss = 'zzz'
set @day = n
select * from dt
''
I feel it difficult to me since I looked up the community, no found any clue on this.
So I'm make new discussion to ask for help.
Any help will be appreciated.
Looking forward to your help.
Thanks.