Go pls-s-00201, identifier ' Calldemo. Get_employees ' must be declared pre-compilation error causes and solutions

Source: Internet
Author: User

$ proc SAMPLE9.PC sqlcheck=semantics
Pro*c/c++: Release 11.2.0.1.0-production on Tue Jan 8 15:18:40 2013
Copyright (c) 1982, the Oracle and/or its affiliates. All rights reserved.
System default option values taken from:/usr/local/oracle/product/11.2.0/dbhome_1/precomp/admin/pcscfg.cfg
Error at line $, column in file sample9.pc BEGIN calldemo.get_employees ....... ..... 1 pls-s-00201, identifier ' Calldemo. Get_employees ' must is declared Error at line, column, file sample9.pc BEGIN calldemo.get_employees. ................. 1 pls-s-00000, Statement ignored Semantic error at line, column, file Sample9.pc:BEGIN calldemo.get_em Ployees ....... 1 pcc-s-02346, PL/SQL found semantic errors

$

Error reason: You need to specify "Calldemo." Get_employees "of the owning user.

Workaround: Add Userid=name/[email protected] at precompilation (@remotedb is not required if you are connecting to a local database).

As the above example:

$ proc SAMPLE9.PC sqlcheck=semantics Userid=scott/tiger

Pro*c/c++: Release 11.2.0.1.0-production on Tue Jan 8 15:25:20 2013
Copyright (c) 1982, the Oracle and/or its affiliates. All rights reserved.
System default option values taken from:/usr/local/oracle/product/11.2.0/dbhome_1/precomp/admin/pcscfg.cfg
$

Compile through!

Original address: http://blog.csdn.net/iw1210/article/details/8481409

Go pls-s-00201, identifier ' Calldemo. Get_employees ' must be declared pre-compilation error causes and solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.