Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> pl/sql in pro*cobol
Hi,
I'm trying to compile the following pl/sql code inside a pro*cobol program (frankr's idea):
validate-emp-number.
exec sql execute
begin
select 'x' into :placeholder
from payroll_employee_master where emp_# = :emp-number-o; exception when no_data_found then :employee-number-flag := 0;
I've tried several variations of this but I consistently
get
"identifier 'payroll_employee_master' must be declared"
when I compile it.
What's the problem? It's had me hung up for a couple of hours and I'm bummed ...
Thanks,
Martin Meadows
Received on Wed May 06 1998 - 18:59:45 CDT
![]() |
![]() |