WEB PL/SQL generator master context option problem
From: Darek <dooverone_at_pf.pl>
Date: 1 Aug 2002 06:47:10 -0700
Message-ID: <c553319b.0208010547.52586266_at_posting.google.com>
Hello
I've got the problem with setting this option in web pl/sql generator preferences According to doc I set preferences for Master context i.e: MCNAAC Y
MCNDDP 2
MCNDPK WSGMC?OUTPUT2
MCNMDP 1 After compilation I get the error:
....
Date: 1 Aug 2002 06:47:10 -0700
Message-ID: <c553319b.0208010547.52586266_at_posting.google.com>
Hello
I've got the problem with setting this option in web pl/sql generator preferences According to doc I set preferences for Master context i.e: MCNAAC Y
MCNDDP 2
MCNDPK WSGMC?OUTPUT2
MCNMDP 1 After compilation I get the error:
....
1 --> package body administracja$ is 2 private_ModuleRef WSGOC.MODULE_REF; 3 PS 10 27 PLS-00201: identifier 'WSGOC.MODULE_REF' must be declared 10 4 PL/SQL: Declaration ignored PL/SQL source ... 8 procedure TemplateHeader(Z_DIRECT_CALL in boolean, 9 Z_TEMPLATE_ID in number); 10 --> function GetRef return WSGOC.MODULE_REF; 11 12 end;
....
I had a look at the WSGOc package and there is :
package WSGOC is
-- -- Web PL/SQL Generator Object Cache --Received on Thu Aug 01 2002 - 15:47:10 CEST
-- make sure we don't keep this around after a call
pragma SERIALLY_REUSABLE; MISSING_MANDATORY_ATTRIBUTE exception; INVALID_OBJECT_HANDLE exception;
-- Dump output stream
type OUTPUT_BUF is record (terminate boolean, buff varchar2(255)); type OUTPUT_STREAM is table of OUTPUT_BUF index by binary_integer;
-- New context heading stuff
-- REF types
type BRANCH_REF is record (id binary_integer); type MODULE_REF is record (id binary_integer); type COMPONENT_REF is record (id binary_integer); -<<<<<<<<<< so this type is already defined, I also granted the execute privilege for this package to my user, just for sure I don't know what wrong is I'd be very grateful for any help Has anybody had such problems ?? Darek
