on 07-15-2015 3:15 PM
Error : SQL exception 1281: wrong number or types of parameters in call: IN_KEY_DATE is not bound: line 1 col 6 (at pos 5) at ptime/query/checker/check_call.cc:505
My xsjob
{
"description": "My first SQLScript job",
"action": "XXXX::XXXX" ,
"schedules":
[ {
"description": "Will run every 59 seconds",
"xscron": "* * * * * * 59" ,
"parameter" : { "IN_KEY_DATE" :"20150715",
"VALUE1" :"1" ,
"VALUE2" : "ABC"
}
}
]
}
It works if I Call "_SYS_BIC"."xxx/procedure" ('20150715' , '1' , 'ABC');
If I schedule a job for other procedure without input parameters it works but now I have my new procedure with 3 input parameters
my problem is solved now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try it like this below? I have not tried this yet with my XSJOBS, none of mine are passing parameters yet but I will also test it soon.
{
"description": "My first SQLScript job",
"action": "XXXX::XXXX" ,
"schedules":
[ {
"description": "Will run every 59 seconds",
"xscron": "* * * * * * 59" ,
"parameter" : { IN_KEY_DATE: "20150715",
VALUE1: "1" ,
VALUE2: "ABC"
}
}
]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.