All Oracle Apps

Frequently Asked Interview Questions

Oracle Forms

The following questions might not be asked in an Average Interview and could be asked when the Interviewer wants to trouble u and go deeppppppppppppp……He cannot go further…..

1) What are user-exits?

       It invokes 3GL programs.

2) Can you pass values to-and-fro from foreign function? How?

      Yes. You obtain a return value from a foreign function by assigning the return value to an Oracle Forms variable or item. Make sure that the Oracle Forms variable or item is the same data type as the return value from the foreign function.

      After assigning an Oracle Forms variable or item value to a PL/SQL variable, pass the PL/SQL variable as a parameter value in the PL/SQL interface of the foreign function. The PL/SQL variable that is passed as a parameter must be a valid PL/SQL data type; it must also be the appropriate parameter type as defined in the PL/SQL interface.

3) What is IAPXTB structure?

      The entries of Pro * C and user exits and the form which simulate the proc or user_exit are stored in IAPXTB table in d/b.

4) Can you call WIN-SDK through user exits?

      Yes

5) Does user exits supports DLL on MSWINDOWS?

      Yes

6) What is path setting for DLL?

      Make sure you include the name of the DLL in the FORMS45_USEREXIT variable of the ORACLE.INI file, or rename the DLL to F45XTB.DLL. If you rename the DLL to F45XTB.DLL, replace the existing F45XTB.DLL in the \ORAWIN\BIN directory with the new F45XTB.DLL.

7) How is mapping of name of DLL and function done?

      The dll can be created using the Visual C++ / Visual Basic Tools and then the dll is put in the path that is defined the registry.

8) What is precompiler?

      It is similar to C precompiler directives.

9) Can you connect to non - oracle data source? How?

      Yes

10) What are key-mode and locking mode properties? level?

Key Mode:

       Specifies how oracle forms uniquely identify rows in the database. This is property includes for application that will run against NON-ORACLE datasources.
      Key setting unique (default.)
       dateable
      n-updateable.

Locking mode:

      Specifies when Oracle Forms should attempt to obtain database locks on rows that correspond to queried records in the form.
      a) Immediate b) delayed

11) What are savepoint mode and cursor mode properties? Level?

      Specifies whether Oracle Forms should issue savepoints during a session. This property is included primarily for applications that will run against non-ORACLE data sources. For applications that will run against ORACLE, use the default setting. Cursor mode - define cursor state across transaction Open/close.

12) Can you replace default form processing? How?

13) What is transactional trigger property?

      Identifies a block as transactional control block. i.e. non - database block that oracle forms should manage as transactional block.(NON-ORACLE datasource) default - FALSE.

14) What is OLE automation?

      OLE automation allows an OLE server application to expose a set of commands and functions that can be invoked from an OLE container application. OLE automation provides a way for an OLE container application to use the features of an OLE server application to manipulate an OLE object from the OLE container environment. (FORMS_OLE)

15) What does invoke built-in do?

      This procedure invokes a method.
      Syntax:
      PROCEDURE OLE2.INVOKE
       (object obj_type,
       method VARCHAR2,
       list list_type := 0);

      Parameters:
       Object Is an OLE2 Automation Object.
       MethodIs a method (procedure) of the OLE2 object.
       List s the name of an argument list assigned to the OLE2.CREATE_ARGLIST function.
      

16) What are OPEN_FORM,CALL_FORM,NEW_FORM? Diff?

CALL_FORM:

       It calls the other form. but parent remains active, when called form completes the operation , it releases lock and control goes back to the calling form. When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.

OPEN_FORM:

      When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.

NEW_FORM:

      Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. Oracle Forms releases memory (such as database cursors) that the terminated form was using.

      Oracle Forms runs the new form with the same Runform options as the parent form. If the parent form was a called form, Oracle Forms runs the new form with the same options as the parent form.

17) What is call form stack?

      When successive forms are loaded via the CALL_FORM procedure, the resulting module hierarchy is known as the call form stack.

18) Can u port applications across the platforms? How?

      Yes we can port applications across platforms. Consider the form developed in a windows system. The form would be generated in UNIX system by using f45gen my_form.fmb scott/tiger

                                                                                                                                               Previous