Hi,
I want to call the job parameter (age) in the where clause of the SQL file called in the DB2 stage.
The clause used in the sql file is :
'where Cust_Age = '#age#'
But its not recognizing the parameter.
Kindly help.
Regards,
dxk9
To pass job parameter in a SQL file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In a sequence read the value then pass it to a job that includes parameterized SQL within the job design itself. Or have the sequence generate the entire SQL statement and pass that to the job as a parameter.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.