Gracias por tu paciencia!!!
El resultado del trace es:
let istatus = 1
let vcmsg = 800320
expression:
(select c.turno, case c.turno when “T” then “Tarde” when “N” then “Noche” when “M” then “Mañ.” else “Noche” end, c.materia, c.nombre
from sga_comisiones as c
where (= c.comision, pcomision))
evaluates to 101-98001-12 ; 98001 ; Noche ; N ;
let vcturno = N
let vcturnodesc = Noche
let vcmateria = 98001
let vccomisionnombre = 101-98001-12
expression:(or (null vcturno), (= vcturno, “”))
evaluates to f
execute function dba.sp_plan_de_alumno[procid=2532] ( p_unidad_academica = IFT27 , p_carrera = TSDG , p_legajo = 1163 , p_fecha = 2012-06-11 00:00:00 )
default value p_fecha = 2012-06-11 14:11:25
let v_plan = NULL.
let v_version = NULL.
let v_version2 = NULL.
expression:(or (null p_fecha), (and (= ( to_char, p_fecha, “%H:%M:%S”), “00:00:00”), (= (date p_fecha), )))
evaluates to t
let p_fecha = 2012-06-11 14:11:25.000
exception : looking for handler
SQL error = -284 ISAM error = 0 error string = = “”
exception : handler FOUND
expression:error_info
evaluates to
expression:isam_err
evaluates to 0
expression:sql_err
evaluates to -284
raise exception :-284, 0, “”
exception : looking for handler
SQL error = -284 ISAM error = 0 error string = = “”
exception : no appropriate handler
exception : looking for handler
SQL error = -284 ISAM error = 0 error string = = “”
exception : handler FOUND
expression:(- 1)
evaluates to -1
let istatus = -1
expression:(|| (|| (|| (|| (|| (|| “800321”, “,”), “bloqueoHorario”), “,”), sql_err), " - "), error_info)
evaluates to 800321,bloqueoHorario,-284 -
let vcmsg = 800321,bloqueoHorario,-284 -
expression:vcmsg
evaluates to 800321,bloqueoHorario,-284 -
expression:istatus
evaluates to -1
procedure ctr_bloqueohorario returns -1 , 800321,bloqueoHorario,-284 -
iteration of cursory procedure ctr_bloqueohorario
Parecería que esta tirando un error en la fecha del plan de estudios??
abrazo.
Jose Luis