Hi all,
we have a procedure written inside the calc view which works fine when we call from the SQl console.
When we try to run the job it is throwing error at the point of calling the procedure.
Below is the detailed flow
1) xsjob has procedure to call a function in xsjs file
2) inside xsjs file , calling a procedure via preparecall( call _SYS_BIC.<>/procedure name)
3) inside the procedure we are calling calcview - select from calc view "ABC"
4) This ABC calcview has a procedure to get the date . << this is where the job is throwing internal error . Transaction rolled back as internal error.
-------- When we call this calc view ABC in the SQl console it is working fine. . We are puzzled to know why this is not working when we call from the schedule job.
Any clues please.
Thanks