exec_sql. PLL in the form of 11g

Hi all

I've struggled for some time with a form of migration problem.

Reminder: My business is migrating to Oracle 10 g 11 g form through all the screens, libraries and all objects in general. A few days ago, I found a screen which opens a connection to the database and execute instructions (grant privileges, change password), this form uses exec_sql.pll which is apparently a package included in the implementation of forms since version 6.

The problem begins when I took the current exec_sql.pll of my deposit and try to compile in Builder 11g.

the main problem is that there is a function that does not compile:

PACKAGE currconn BODY IS

-This is the definition of package for currConn

-For Developer/2000 R 2.x, which makes implementation of the STPROC. HSTDEF

-procedure.

FUNCTION get_curr_conn RETURN pls_integer

IS

hstdef PLS_INTEGER;

BEGIN

stproc.hstdef (hstdef); Obsolete in Forms11g - form of Oracle 11 g Migration

connection_id: = EXEC_SQL. DEFAULT_CONNECTION;

Tensioner: = EXEC_SQL.IS_CONNECTED;

RETURN hstdef;

EXCEPTION

WHILE OTHERS THEN

RETURNS A NULL VALUE.

END;

END currconn;

According to the documentation of oracle forms, this guy here [stproc.hstdef] is now obsolete. Therefore, because that's why I can't continue with the compilation. the logic to connect to the DB and execute some instructions is present across several screens, so ideally, I would like to correct the root cause of which is the library and not apply with a workaround in each single fmb

Issue.

1. is there any place where I can download a newer version of exec_sql.pll?

2. If the answer to #1 is NEGATIVE, is there another way to get around the above function?

OK, time for me to chime...

If you need not STPROC so it is not a problem because it no longer exists.  What you need to do, is not to use an old pll.  Since functions supported this old pll are now based in the forms, the library of the add-on should no longer be needed and your form should compile.  If it is not the case, your form code must be updated correctly.

If your concern is that you have a lot of modules should be updated, you can use the JDAPI or CAPI to perform updates all modules quickly.

If you do not correct the code at some point, you will continue to have this problem every time you upgrade.  What will happen when you need go to v12?

Tags: Oracle Development

Similar Questions

  • Impossible to recompile the application Summit in the form of 11g

    Hi gurus,

    I try to install the application of top in the 11g version. Try to recompile all the objects (.pll, .mmb, .fmb) but all not able to compile .fmb.

    Here are the steps I did:

    1 extract the app from top to c:\summit

    2. create the schema of Summit by running the script

    3. set the FORMS_PATH registry and windows variables env FORMS_PATH to c:\summit

    4 compile the .pll, the .fmb and the .mmb

    Appreciate any help.

    Kind regards

    Ferrere

    I just tested this in forms 11.1.2.2 (x 64) and it works properly.  I am able to open all the files.  That said, if you do not correctly set FORMS_PATH, you will get an FRM-18108 error that says it cannot locate a required library.  It is expected, because the shape has a dependency on an OLB and therefore it must be included in FORMS_PATH.

    So, that means one of a few things:

    1. you do not actually use the version of forms, you believe that you are using

    2. you have multiple installed versions of forms and the system path points to a very old version of the constructor

    3. the error message you get is not one that suggests the form cannot be opened, but rather the one I mentioned above

    4. the file you download is somehow corrupted.

  • Regedit in the form of 11g installation

    Hello

    I recently installed in my Pc Home, GR 11, 2 and 11 g Database forms.
    I have no experience with the forms on the Web, only Client-Server Developer 6i.
    I have a small retail (about 50 FMAS) Application in Developer 6i, and I would like to convert the FMAS to the new version.

    I know that in Developer 6i, in order to start the application and successfully open a fmb in Forms Builder.
    You must configure the regedit.
    There are some variables (FORMS60_PATH...) where we put the executable path for example in 6i

    FORMS60_PATH: C:\Retail\Bin (if we have the .fmx, the .mmx, the .pll)
    REPORTS60_PATH: C:\Retail\Bin (if we have the RDF)
    UI_ICON: C:\Retail\BIN (if we have the .ico files)


    Now, in my regedit, in HKEY_LOCAL_MACHINE--> SOFTWARE--> Oracle--> KEY_OH609856842.
    in the right pane, I see a FORMS_PATH that contains

    C:\Oracle\Middleware\FRMHome\forms; C:\Oracle\Middleware\FrmInst\FormsComponent\forms

    a REPORTS_PATH that contains

    C:\Oracle\Middleware\FRMHome\reports\templates; C:\Oracle\Middleware\FRMHome\reports\samples\demo; C:\Oracle\Middleware\FRMHome\reports\printers

    and a UI_ICON, which contains

    C:\Oracle\Middleware\FRMHome\reports\plugins\resource

    I would like to open a fmb 11 GR 2 Form Builder 6i. What I would do in regedit?

    It's just these variables FORMS_PATH, REPORTS_PATH, UI_ICON
    at the beginning to C:\Retail\Bin;


    Thank you and Merry Christmas.

    The basic features of the 11 manufacturer are the same as in 6. This is why the registry entries are also fundamentally the same. The only major difference is that is no longer a reference version in the entries. Thus, for example the path to your modules is listed in FORMS_PATH. The most important changes associated with execution and the inner workings of the form. I recommend that you refer to upgrade guides to better understand what you need to do to move from 6 to 11.

    http://docs.Oracle.com/CD/E38115_01/index.htm

  • Loading of the icons in the form of 11g

    Hi all

    I develop application using Oracle 11 g Forms.

    I'm loading the icons folder and configured in

    Registry.dat file located in

    %DOMAIN_HOME%\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config\forms\registry\oracle\forms\registry.dat

    default.icons.IconPath = http:// hostname: porttypes/Icons /.

    default.icons.iconextension = gif

    It works very well...

    My question is

    The case above works in intranet systems.

    If I connect via static server ip, then, I need configuration c:\windows\system32\drivers\etc\host file

    Server_IP_Address nom_hote_serveur

    for each system.

    How to solve this problem?

    Thanks in advance,

    Su.GI

    Then default.icons.iconpath=/Icons/ or default.icons.iconpath=Icons/ should do the trick

    You can also check with a browser to see if it works http://hostname: port/forms/Icons/myicon.gif to see if the url matches.

    Jean-Yves

    must be default.icons.iconpath = Icons (relative way)

  • "ifsessid" parameter in the form 11g

    We are the migration of forms 10g to 11g.

    Our current configuration of 10g launches the form without the need of a browser using the runtime Java (JRE) environment.
    This is necessary because of the multitude of different browsers (and versions of browsers) in use in society. Although not officially sanctioned by Oracle, it has served us very well.

    The JNLP used with this 10g configuration contains the following line:

    * < param name = 'ServerURI"value =" / forms/lservlet? " ifcfs = / forms/frmservlet? config = XXX"/ > *.

    However less than 11g, two additional settings are necessary, which is the session ID.

    * < param name = 'ServerURI"value =" / forms/lservlet? " ifcfs = / forms/frmservlet? config = XXX & ifsessid = formsapp.888; acceptLanguage = en-US"/ > *.

    We have previously hard-coded this ID "888" session and even with multiple users running the application, everything seems OK, but I would like to be certain that this irreversible value does not problems.

    Questions:

    (1) what is the purpose of this parameter? (i.e. really serves to something)?
    (2) can this session ID be hardcoded (as in "888" in example)?


    The full article in the JNLP is as follows:

    < applet-desc
    hand-class = "oracle.forms.engine.Main";
    name = "XXXX11g (DEVELOPMENT)" "
    Width = "1000".
    height = "640" >
    < param name = 'ServerURI"value =" / forms/lservlet? " ifcfs = / forms/frmservlet? config = XXXX & ifsessid = formsapp.888; acceptLanguage = en-US"/ >
    < param name = "lookAndFeel" value = 'Oracle' / >
    < param name = "logo" value = "no" / >
    < param name = "colorscheme" value = "blue" / >
    < param name = "serverArgs" value = "" escapeParams = true module = XXXX_LOGON.fmx userid=aaa/bbb@foo usesdi = debug yes no = no buffer_records no = no debug_messages = no table no = no query_only = no = yes = no render peace "/ >"
    < / applet-desc >

    The ifsessid is not a "session id" in the traditional sense of the term. As I said, it is not used to maintain client-server session. It is partially used for your benefit (admin). It creates a separate newspaper marker if you have the ability to diagnose failures that find you in the log files. It gives you the capability of an entry in a log file by another in another newspaper. This can help to follow the path of a request may be taken before a failure occurred. Remember that it is not uncommon to see more than one of this value in your newspapers. This is because every time to start/stop WLS_FORMS, the sequencing of the ifsessid numbers will then leave at 1.

    So, if you change the ifsessid, the only thing you will break is your ability to easily follow a failure. It won't stop tracking you. It will be just as difficult as it was in previous versions.

  • The upgrade of the Oracle Database 11g while maintaining the forms on 10g

    Hello
    I am relatively new to the oracle application servers and forms.

    In my view, it is possible to upgrade the database to 11g but let application servers and forms on 10g. I can't find it mentioned explicitly in documentation, but she seems to be involved.

    Someone at - it encountered problems with the database running on 11 g and leaving forms, application, the interfaces running on 10 g servers.

    Thank you
    Jim

    Salvation;

    Your question and answer is Yes,

    See the link below:
    http://www.Oracle.com/technetwork/middleware/IAS/downloads/as-certification-R2-101202-095871.html#BAJGCBEA

    Which is mention below notes:

    All editions of Oracle Database 11 g (11.1.0.6) or more are supported. Please refer to Metalink Note 740417.1 for more information on the Oracle Database 11 g 1 material Certification for Oracle Application Server 10 g (10.1.2.x), and Metalink Note 887365.1 for more information about the database Oracle 11 GR 2 Certification for Oracle Application Server 10 g (10.1.2.x).

    Respect of
    HELIOS

  • The appeal of report on the menu (Oracle 11g form)

    I'm calling a report to a menu item in a menu (to which is attached a form) in Oracle Forms 11 g directly and I am having some trouble. I don't know how to call a report from a form and everything works perfectly.

    But since there is no element called 'Report' to attach as there are forms on a menu, I followed the route that is attached to the PL/SQL library "rp2rro" on the file menu (mmb) and I even made on the form itself. Then when you convert a menu by using the Migration Wizard of forms, he comment statements like "ADD_PARAMETER" and replace it with calls to procedures/functions bundled in the package "rp2rro". I put all the parameters

    RP2RRO. SETOTHERS ('PARAMFORM = YES');
    RP2RRO. SETDESTYPE ('CACHE');
    RP2RRO. SETDESFORMAT ('PDF');
    RP2RRO. SETCOMMUNICATIONMODE (SYNCHRONOUS);

    then made the call in the report:

    RP2RRO. RUN_PRODUCT (REPORTS, "MYREPORT', SYNCHRONOUS, DURATION, FILE system, param_list_id, NULL");

    but everything I get the error "FRM-41219: can not find the report: invalid ID."

    The Oracle documentation for integration forms reports is for when you run the report in a form not a menu item (to which is attached a form). Clues?

    My environment is:

    Oracle (database, Fusion Middleware) 11g - Red Hat Enterprise Linux 5
    Web browser - Internet Explorer 7 on Windows XP Professional

    Thank you

    See your forms/server/forms.conf file.
    It contains the virual directories:

    ...
    # Virtual path for runform.htm (used to run a form for testing purposes)
    AliasMatch ^ / forms/html / (. *) "C:\dev10gr2/tools/web/html/$1".
    ...

    You can use one of them, but also to add new example:
    # Virtual path documents
    AliasMatch ^ / forms/docs / (. *) "C:\.../docs/$1".

    You copy your html pages to the physical directory, then view with the following:

    Web.show_Document( '/forms/docs/my_page.html', '_blank');
    

    François

  • To migrate forms to 11.1.2 should we improve the forms to 10.1.2.3

    We have an application developed using Oracle Forms [32 bit] Version 10.1.2.0.2 (Production).

    We want to migrate/upgrade to forms [32 bit] Version 11.1.2.0.0 (Production).

    What is the process of migration of Forms 10 g 11g Forms?

    (1) use a batch script and compiled the 10g shape forms 11g using the 11 g compiler.
    (2) open the forms that gave errors when compiling batch in the form builder 11 g and compile the form in the form designer from 11 g to find errors, correct them, and compile the form and create fmx use of the generator of.

    Of after this document (http://docs.oracle.com/cd/E24269_01/doc.11120/e23975/upgrade_classic.htm) it is said, only under + "4.1 planning your upgrade to Oracle Forms and reports 11 g Release 2 (11.1.2)" + which you must patch and the last 10 g Release 2 game fixes which is 10 g Release 2 (10.1.2.3)

    Is this necessary?

    Also, what is the Assistant of the upgrade wizard for? Source and Destination must be in the same machine, it seems. But we were told that you can't install forms 11g and forms 10 g in the same machine?

    Published by: user12240205 on October 11, 2012 22:35

    Published by: user12240205 on October 11, 2012 22:36

    Published by: user12240205 on October 11, 2012 22:37

    This seems to be a common point of confusion. The "FMw Upgrade Assistant" is a utility that helps you to update any installation of the Application Server to a version more recent (for example 11.1.x). This has nothing to do with your forms (fmb, mmb, pll, etc.) or requests for reports (EPR, rdf, etc.). In General, I would say that using the AU is not necessary and probably shouldn't be used in most cases. Case where it should be used may include a situation where your previous version has been significantly customized and you don't know how or do not want to make the same customization in the new environment manually. If you are talking about a new product (Oracle or not) or even a new OS, generally your best bet is to start with a clean and new installation. Try to upgrade an existing version of always comes with problems. Notice of Just a man ;-)

    Regarding your requests for forms, there is a Migration Assistant (FMA) form, explained in the Guide to upgrade forms:

    http://docs.Oracle.com/CD/E24269_01/doc.11120/e24478/toc.htm

    That said, as with AU, it is always better to take extra time and do not rely on tools so they can be avoided. In most cases, the FMB will be unnecessary. This is especially true if your application has come to version 10. For older versions, using FMA could be beneficial.

    So, to the point, to move an application Forms (fmb, mmb, pll) version 10 or 11 is as simple as recompiling your modules by using the compiler v11. Is it ;-)

  • Personalization form - stored procedure call in the form library.

    Let's say we have a form: OEXOEORD.fmb (sales order form)

    Using Form Builder to open it, we see that it connects to other libraries PL/SQl, such as OEXOELIN (file: OEXOELIN.pll)

    and there are several stored procedures in OEXOELIN.

    is that possible in the customization of the form of good sales of command (OEXOEORD.fmb)

    call us a procedure in the OEXOELIN library? for example: we call procedure OE_LINE_SHIPPING.packing_insruction in the OEXOELIN library?

    I tried to use the Builtin FORMS_DLL or "Execute procedure", but does not work.

    We use the R12.

    the solution we found is:

    (1) use the form customization to call a custom library

    (2) custom library calls the forms library

  • How to put the form into insert mode without clicking a button insert new record

    Hi all

    I use apex 4.2 on windows, internet Explorer 10 on oracle 11g R2, all 64 bits.

    I'm creating mobile applications.

    I have a list page, I put the links on this page.

    one of the links is a form of opening and passing some values that form.

    the form I open with custome plsql trigger to generate the primary key.

    I do not include an Insert button in the form, I call you, I want to just the user to type something in the column remarks of the newly opened form.

    and when the user clicks the Save button, the folder must be inserted as a new record in the table of underscore.

    now, the pk is not because I do not press on the Insert button, since I do not include the Insert button.

    now when I navigate my list Page by clicking on the point list and in the newly open shape, I enter some data in the Notes field and click on the button, save

    It is not saving the table or give any error?

    How to solve this problem?

    Kind regards.

    Mahjoor,

    If your form is wizard generated then

    Change your suite save button and put

    and confirm that regardless of the Page item Insert Source values contains more

    If you manually insert values shaped then write a Page process to insert this page elements values in the table

    during the click on the button Save.

    I hope this helps you.

    Leave.

  • Open the form and parameter passing

    I create parameter with the name (user_stud_id) and the data type is the number in the form that calls

    Then I put the code OPEN_FORM button ('SUPLY_CASH_RECIVE', NO_SHARE_LIBRARY_DATA, ACTIVATE, SESSION: USER_STUD_ID);

    but the form will not open?

    I use the database 11g

    and application server 10g

    Thank you very IAM

    I updated the format:

    OPEN_FORM ('C:\Hieet\SUPLY_CASH_RECIVE.) FMX');

    and its working well

    Thank you very IAM

    ÷

  • Cannot open reports in the form of url using web.show_document

    Hi experts,

    I'm trying to access the oracle forms to oracle reports. port 9001 turn my forms and my report has been set up in port 9002.

    While trying to open the report using web.show_document (), the web page opens with the port 9001 and returns a 404 error. But when I change the port number 9002 in the url it opens the report sucessfully.

    Please find the link forms and reports below:

    http://10.180.218.158:9001/forms/frmservlet? config = kvb11g

    http://10.180.218.158:9002 / reports/rwservlet/getjobid97? Server = rptsvr_mohadam-in_adam2unst

    I tried to change the machine name of the ip address in theforms.conf and reports_ohs.conf as suggested in the link below. but it dint work out.

    URL-

    https://forums.Oracle.com/thread/1105289
    http://prasadmadhasi.com/2011/11/19/changing-presentation-services-port-number-in-OBIEE-11g/

    My reports_install.properties is given below,

    Properties of installation #Reports

    #Fri Oct 13 16:10:59 IST 2013

    WLS_USER = weblogic

    USE_REPORTS_BUILDER = true

    OHS_COMPONENT_NAME = ohs1

    REPORTS_MANAGED_WLS_PORT = 9002

    Server_name = RptSvr_MOHADAM-IN_adam2unst

    REPORTS_MANAGED_WLS_HOST = 10.180.218.158

    FORMS_CONFIGURED = true

    ORACLE_INSTANCE_NAME = adam2unst

    REPORTS_APP_DEPLOYMENT_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\servers\\WLS_REPORTS\\tmp\\_WL_user\\reports_11.1.2\\uxabaw

    INPROCESS_SERVER_NAME = RptSvr_MOHADAM-IN_adam2unst

    MANAGED_SERVER_NAME = WLS_REPORTS

    OHS_PORT = 8891

    DOMAIN_HOME = it\: / Oracle/Middleware/user_projects/domains/kvbdomain

    COMMON_COMPONENTS_HOME = C\:\\Oracle\\MIDDLE~1\\ORACLE~1

    ORACLE_INSTANCE = C\:\\Oracle\\Middleware\\adam2inst

    REPORTS_APP_CONFIGURATION_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\config\\fmwconfig\\servers\\WLS_REPORTS\\applications\\reports_11.1.2\\configuration

    OHS_HOST = MOHADAM - IN .in .oracle .com

    Domain_name = kvbdomain

    ORACLE_HOME = C\:\\Oracle\\Middleware\\Oracle_FRMHome

    USE_OID = false

    REPORTS_APP_VERSION = 11.1.2

    USE_SSL_FOR_APP_LDAP = false

    INSTALL_MODE = deployment

    SSO_CONFIGURED = false

    Looking forward for your help.

    Kind regards

    SYL

    Hello

    It's the forum space

    Developer SQL (not for general questions of SQL/PLSQL)

    Please mark this thread as answered and post your issue in the reports

    Concerning

    Marcus

  • Is Guide to the forms/4GL developers of the developer 10g obsolete?

    Hello

    Is Guide to the forms/4GL developers of the developer 10g obsolete?
    Because there are examples such as
    To the custom help ADF Page Lifecycle to call a Backing Bean onPageLoad
    Method

    I can't find in the 11g docs

    Thank you.

    Published by: juancarlosreyesp on October 8, 2012 10:41

    Hello
    many things Yes.
    http://docs.Oracle.com/CD/E23943_01/Web.1111/b31973/TOC.htm
    http://docs.Oracle.com/CD/E23943_01/Web.1111/b31974/TOC.htm

  • Error while compiling a pll customized with forms 11 g and weblogic

    Hello
    I just posted a thread here:
    Error FRM-30312 when compiling to a custom library pll on forms 11 g weblogic

    Please, I need help

    Why shouldn't post in the appropriate forum, that is to say the forms forum

  • Error 404 - NOT FOUND when you run a form in the form of 11 g

    Hi all

    I had this problem when I run the forms using internet explore.

    I'm working on forms 11g using weblogic 10.3 for the deployment of web forms.

    Error 404 - not found
    RFC 2068 Hypertext Transfer Protocol--HTTP / 1.1:
    10.4.5 404 not found
    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Can someone tell me where it went wrong.

    Thank you

    Let's start by clearing up some confusion.

    PORTS
    --------------
    Version 11.1.1.x here are how the common ports are defined by default:

    1 HTTP Server - 8888
    2 WLS_FORMS - 9001
    3 WLS_REPORTS - 9002
    4 WLS Admin Server - 7001

    So, if you understand how ports work in general, you should see that there are two ways to run a form. You can go through the HTTP server or directly call the WLS_FORMS. This means that both of the following might work, although one would be a direct path and the other is route the request through the HTTP server:

  • http://ie1fdtfc5zl1s:9001/forms/frmservlet? config = frmdemo
  • http://ie1fdtfc5zl1s:8888/forms/frmservlet? config = frmdemo

    Port 7001, will always be the port of the default server for the classic domain administrator. By default, the only thing that you can do from here is EM or WLS Console access.

    As for the question of the AMT, by default, the generator and the runtime will wait to find tnsnames.ora in hospitality \config Instance so be sure you add the correct entries to the correct file.

    You can hardcode a path to the file you want to use by setting TNS_ADMIN in default.env (e.g. TNS_ADMIN = C:\Oracle\mytnsdirectory). This will only apply to execution of forms and not the manufacturer.

    Also, here is something that is often a source of confusion for many people... just because you started your form in the constructor does not mean that the form running has nothing to do with the manufacturer at this time. In other words, when you click RunForm button in the constructor all that you do is pass a url in a browser. The browser and the form do not use the constructor parameters except that can be passed in the URL (e.g. name of user and password). Running of all forms are considered to be 'runtime '. This means that all information environment to an active form configuration must be defined in default.env. The manufacturer, on the other hand will be based on the system variable, the Windows registry (or shell if under Unix).

Maybe you are looking for

  • iTunes will not transfer music to iPhone

    I transferred a few CD on my mac in itunes. They play very well. I'm trying to move these songs on my iPhone, but they appear right on my phone as being in the cloud. iTunes will not transfer them directly from the computer to the phone. It is not gi

  • Driver HP blocking 3COM downloads!

    HelloI'm in the United Kingdom.I am trying to download drivers 3CRWE154G72 to do a clean install on a laptop.When I click on the link to download I get a page as well: -. Error: Embargoed countries I sent an email as requested, but no response.I am a

  • HP Probook 430 G2 WiFi adapter driver problem

    Hello! It is a message to HP, correct the download pages for this model of laptop (HP probook 430 G2)! I struggled for the last day to try to download the driver for wifi card OK for this laptop that I just bought today. The laptop runs on windows 7

  • New video card.

    Hello I have a desktop HP pavilion p6-2106 and I want a new video card, so I can play some of the games of "new". It doesn't have to be so I can't play evry thing on max settings but just low/medium with a decent pace so I'm looking for a decent vide

  • Microsoft Backup does not seem to be the case at the scheduled time

    I put p Microsoft Backup to create an image of my hard disc, to run every day at 11:00, but when I looked right at him, under the "last backup" he said '' never. '' Why he would say this, I ran a manual backup a week or so, there is, as I feared him