Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"S.Sathish" — — source: Informix-list mailing list archive (1991-1998)
1) this compiled fine
create procedure temp()
end procedure
2) This did not why ?
create procedure proc_tmp ( last char(15),first char(15))
returning int;# ^
# 201: A syntax error has occurred.
#
define x int;
on exception in (-206)
create table proc_tab (lname char(15),fname char(15),tele char(15)); insert into proc_tab values (last,first,'1000');
end exception with resume
end procedure
3)this did not.why?
create procedure temp()define x char;
# ^
# 201: A syntax error has occurred.
#
end procedure;
4)even this did not.why?
create procedure temp()define x char;
# ^
# 201: A syntax error has occurred.
#
end procedure
Informix ODS 7.1 on SCO.
Bye
******************************************************************************
S.Sathish
email :ssathish@cmcbang.ernet.in
******************************************************************************
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.