Questions of the type of the binding parameter Action.

Hi, experts,

12.1.3 Jdev c.

In a jsf page, I drag an action CreatWithParams of current control data and the default value based on the values of the VO bingdings. as follows:

< action IterBinding = "ETaskView1Iterator" id = "CreateWithParams" RequiresUpdateModel = "true".

Action = "createWithParams" InstanceName = "AppModuleDataControl.ETaskView1" DataControl = "AppModuleDataControl" > "

< NamedData NDName = "RespEmpId" NDValue = "#{data.» EPF_view_loginPageDef.EmpID.inputValue}"NDType="oracle.jbo.domain.Number"/ >

< NamedData NDName = "RespEmpName" NDValue = "#{data.» EPF_view_loginPageDef.EmpName.inputValue}"NDType="java.lang.String"/ >

< / action >

Errors are being raised for the above setting such as:

Cannot find resource for bundle java.util.PropertyResourceBundle, key el.convert

If I change the setting above to:

< NamedData NDName = "RespEmpName" NDValue = "#{data.» EPF_view_loginPageDef.EmpName.inputValue}"NDType ="oracle.jbo.domain.String">

Error Msg will be like this:

Error: oracle.jbo.domain.String

If I add

< NamedData NDName = 'BegDate"NDValue =" adf.currentDateTime"NDType="java.lang.String"/ >"

An another error msg will be like this:

Timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

How to fix?

Thank you.

You pass some other pageDef value?

Check once the data type of these two attributes (that one you set and the other you are passing)

And you have to use adf.currentDateTime in EO or VO expression

Ashish

Tags: Java

Similar Questions

  • Converter Standalone 4.3.0 question - Get "the specified parameter was not correct" and no source listed volumes

    Sorry - hopefully an admin can move this to the correct forum. I could find no community forum labeled converter so no idea where to post this message.

    My first time trying to use the converter. Use the latest version of the Converter 4.3.0 to try a P2V by using the source computer. This is a laptop Dell D820 running Windows 7 Ultimate x 64 business. I chose the source machine and all the default settings. Destination product is VMware Workstation 7.x and target files are either local or to a port USB drive (tried both). In the last step, I get a yellow bar with the error "the specified parameter was not correct" "but the following quotes are empty and presume it suppose to say the name of the setting.» The only thing I see that is suspect is that if I click on change in section 'Data copy', the list of volumes and empty and assume that shouldn't be. The sample video to get advice on the use of converter on VMware support sites show a volume listed here. I tried the same approach on a completely different system under Vista SP2 and still no volumes appear so maybe it normal?

    No idea what I am doing wrong? I did export logs and watch and it appears no volume information has been captured (a lot of & lt; destroyed & gt ;) but even once, just guessing.) Any advice would be appreciated greadly.

    Thank you

    Don

    I had the same problem on a Win7 x 64 machine... There was no listed disk to convert.

    I managed to solve the problem by running the converter as an administrator. Right-click on the Desktop Converter icon and select run as administrator.

    The disks appears and you can select which can be the converter.

  • Question about the Log_Checkpoint_interval parameter

    What is the use for Log_Checkpoint_interval? Have an impact on the performance of DB?

    What kind of problems are you having?

    Take a look at this note:
    Adjustment of the control point and Troubleshooting Guide [ID 147468.1]

    ...
    LOG_CHECKPOINT_INTERVAL influences when a checkpoint occurs, which means
    careful attention should be given to the setting of this parameter, keeping it
    updated as the size of the redo log files is changed.  The checkpoint
    frequency is one of the factors which impacts the time required for the
    database to recover from an unexpected failure.  Longer intervals between
    checkpoints mean that if the system crashes, more time will be needed for the
    database to recover.  Shorter checkpoint intervals mean that the database will
    recover more quickly, at the expense of increased resource utilization during
    the checkpoint operation.
    ...
    
  • Question on the "Binder" two queries

    I get an error when I run the following code (see below).
    Why then I 'tie' these 2 queries together like this?
    Both will work fine by themselves and give me good data, I just need to connect.
    For a sql start class, so I all I really want is to explain why this is not allowed.
    I'm not find the answer in the book I have.
    Any idea for a newb appreciated!
    SQL> SELECT order#, isbn, title, SUM(quantity) AS SubTotal
    2        FROM orderitems RIGHT OUTER JOIN books USING (isbn)
    3        GROUP BY order#, isbn, title
    4        ORDER BY order#
    5 WHERE (isbn, title) IN
    6                     (SELECT isbn, title
    7                       FROM books
    8                       WHERE retail - cost >
    9                                        (SELECT AVG(SUM(retail - cost))
    10                                         FROM books
    11                                        GROUP BY isbn));
    WHERE (isbn, title) IN
    *
    ERROR at line 5:
    ORA-00933: SQL command not properly ended

    Hello

    When the following clauses are used, they should always be in the following order:

    WHERE
    GROUP BY
    ORDER BY

    You can override any (or all) of these, but when you use them, they must come in that order.

    Move the WHERE clause (all, up to, but excluding, the semicolon) before the GROUP BY clause.

  • Question on the recorder of actions (ESP) for Windows XP.

    Hello team,

    I'm really impressed with the new tool of the action recorder, which comes with Windows 7. It really helps and saves a lot of time.

    Is there any recorder measures (PSR) problem for Windows XP?

    If not, what third-party tool you're suggesting which can be used with Windows XP?

    No response to most early would be really appreciated.

    Yes, it's mainly for end-users to use, let us know what they see.

    Example: To re-create a problem, in a graphic way, etc.

    There is no directly (just as) tool I know.  However, you are not the first to ask the next question.

    You can watch in this solution which was mentioned several years ago and you can get them directly from this article.

  • Binding parameter, action - invert action B

    Hello everyone I wanted to ask a question of a movement function, it is possible, two data objects (two lines) associated with a contrast value linking the subject of 'source '? I mean I have two parallel lines between them, line A (source) and line B (link on the parameter Transform - Position - y of the source of the a line), if I reduce the line -20px I want the line B increases instead of + 20px, instead has + 20px - 20px-B, then apply an equal and contrary to the source value.

    This possibility is real? I tried, but couldn't find a good solution, thanks for the replies, I am attaching the photograph

    OK SOLVED!

    The solution is called "scale parameter" + 1 regular - 1 applies to the reverse

  • Pass String [] (String Array) type of a parameter in 'change the binding Action.

    Hello

    We hope that you do very well. It is very important for me, kindly help me in this beyond.
    I have a scenario where I pass a parameter of type String [] that have a value of {'name'} to a Web service that returns values.

    I created a datacontrol WS, dragged and decreased the value of return on a jspx, then it asks me to give the entry value

    How he move to the setting in "change the binding Action"?
    When I say new String() {'name'}, it gives me the following error
    Failed to create an object of type: [Ljava.lang.String; of type: java.lang.String with value: new String() {'name'}]

    Similarly, I hard-coded this value in a managedBean added to requestScope/applicationScope and questioned using the #{applicationScope.AppCreationBean.epsName}
    But this time, it is said, the value is null. I guess that the value is not updated correctly initialized. But if I hardcode the value in the Get accessor method, I again get the error as above.

    Someone said to me how to pass an array of type String (IE, String []) with a value of 'Name' in the Wizard "Change the binding Action" is?

    Concerning
    RaviKiran

    Hello

    refer to a property of the managed bean that returns an object. Then in the Get method / create the array and return it

    Frank

  • Question of the ADF - LOV based on parameter appears not

    Hi all

    I get the error message like "AttibuteManagerID" in my page

    Technical description:

    Application module: EOMUIModelAMImpl.java

    Display object:

    View1: EOMVO

    View2: NameOfNomineeVO - has a criterion of Requestor_PersonId =: ManagerId (view criteria have a 'required' for the Requestor_PersonId attribute type validation)

    View1 one of the attributes is NomineePersonId (Long) is a LOV that uses View2. View2 has a criterion with bind variable requestorPersonId (Long) =: ManagerId (Long), who, we are using the criteria in the EOMUIModelAMImpl.java file:

    These are the 2 methods used to define criteria in the EOMUIModelAMImpl.java class.

    SetManagerIdUsingCriteria method will define ManagerId to display subordinate to the Manager.

    {} public Long setRequestorPersonId()

    Long requestorPersonId = 0L;

    try {}

    EmployeeOfTheMonthRequestModelAMImpl employeeOfTheMonthRequestModelAM = (EmployeeOfTheMonthRequestModelAMImpl) getEmployeeOfTheMonthRequestModelAM ();

    ViewObjectImpl employeeOfTheMonthVO = getEmployeeOfTheMonth();

    System.out.println ("- before calling fetchRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    requestorPersonId = employeeOfTheMonthRequestModelAM.fetchRequestorPersonId () .longValue ();

    System.out.println ("- after the call to fetchRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-" + requestorPersonId);

    employeeOfTheMonthVO.setApplyViewCriteriaName ("EmployeeOfTheMonthVOCriteria");

    employeeOfTheMonthVO.setNamedWhereClauseParam ("requestorPersonId", requestorPersonId);

    System.out.println ("- end of the setRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    Return requestorPersonId;

    }

    /**

    * This method is used to set the value of the variable binding ManagerId

    */

    public void setManagerIdUsingCriteria() {}

    Long requestorPersonId = 0L;

    EmployeeOfTheMonthRequestModelAMImpl employeeOfTheMonthRequestModelAM = (EmployeeOfTheMonthRequestModelAMImpl) getEmployeeOfTheMonthRequestModelAM ();

    requestorPersonId = employeeOfTheMonthRequestModelAM.fetchRequestorPersonId () .longValue ();

    System.out.println ("- after the call to fetchRequestorPersonId to setManagerIdUsingCriteria-" + requestorPersonId);

    ViewObjectImpl fetchManagerId = getNameOfNominee();

    fetchManagerId.setApplyViewCriteriaName ("NameOfNomineeVOCriteria");

    requestorPersonId = 300000001130413L;

    fetchManagerId.setNamedWhereClauseParam ("Requestor_PersonId", requestorPersonId);

    fetchManagerId.executeQuery ();

    System.out.println ("- End of setManagerId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    }

    SetManagerIdUsingCriteria() method is able to reach a value of 'requestorPersonId', but is not able to define the criteria after execution of the query.


    Please share your ideas.


    Thank you


    Problem is solved after mapping binding parameter variable to the db attribute in view accessor.

  • question about the date as output parameter

    Hello
    I tried the following procedure to extract the out parameter as DD/MM/YYYY
    CREATE or replace PROCEDURE p1 (p IN NUMBER, x OUT date, y OUT date) 
    IS 
    BEGIN    
    x := to_date(to_char(sysdate,'dd/mm/yyyy'),'dd/mm/yyyy') ;
    y:=  to_date(to_char(sysdate+1,'dd/mm/yyyy'),'dd/mm/yyyy') ;
    END P1; 
    
    declare    
    foo date;    
    bar date; 
    begin    
    p1(5,foo,bar);    
    dbms_output.put_line(foo || ' ' || bar); 
    end; 
    
    And the output is   17-AUG-12 18-AUG-12   , instead of   17/08/2012   18/08/2012  
    The nls_date_format is: DD - MON - RR

    How can I get the output as dd/mm/yyyy format parameter.
    Thank you

    Published by: Smile on August 17, 2012 08:31

    Because your data type is date, the default output is the NLS_DATE_FORMAT.

    You can set NLS_DATE_FORMAT jj/mm/aaaa, but in reality, it would be better to do the following:

    Declare your out parameters as varchar2
    Convert date to be returned to your format of binding and value the more parameetrs to have this value

  • Use the bind variable in example of a clause giving questions

    create or replace procedure pr_mbk (p_val in number)
    is
    CROR type is ref cursor;
    REF CROR;
    type numbertype is the table of index number of pls_integer;
    numtype numbertype.
    v_str varchar2 (2000): = 'select empno from emp sample(:val) ";
    Start
    Open ref for v_str using p_val;
    Close ref;
    end;
    /

    Successfully compiled.

    But when I run the same

    Exec pr_mbk (10);

    ERROR on line 1:
    ORA-00933: SQL not correctly completed command.
    ORA-06512: at "SCOTT. PR_MBK', line 9
    ORA-06512: at line 1

    My question is can use us Bind variables within a sample clause.

    Receive your answer.

    Thank you
    Madhu K.

    I guess that SAMPLE is considered as a special case, and is not considered as something that takes a 'value' in the same way as values in where clause or values in the query itself.
    Let's face it, the SAMPLE is not the standard SQL syntax and is probably something Oracle implements in a separate thread for processing SQL itself i.e. engine Oracle saying to herself... "I will remember this bit of the sample until I questioned the data using the SQL engine, so I'll take a suitable sample of the results," but it's the SQL engine treats the binding of values and the Oracle process that awaits the results taste, knows nothing of the binding values in it's special EXAMPLE of keyword.

  • QUESTION OF THE WEEK... Expertise 101__File Type problem! (Xp SP3) _ question: when double clicking on a folder in the search engine database appears and no files appear.

    -problem happens after messing around with 'file types' in 'options folders' BUT the records may not configured properly to correct the open method by setting the 'file type' back to 'open' in the file types.

    QUESTION OF THE WEEK... Expertise 101

    History...

    I saw a tutorial online on how to change the icons of any file (text, folder, programs)
    In addition to the normal way to do it:

    The normal route was right - click folder, text, program or folder etc-> choose Properties > then choose Change icon

    The new way that I learned how to do that was - go to folder options in the control panel > choose the 'file types' tab > find folder icon, click on it > choose Advanced Options > then choose Change icon.

    The reason for me wanting to do other then the normal way is because I would like to point out that all RECORDS USE DIFFERENT TYPE of ICON RATHER THEN DEFAULT UGLY OF THAT folder BROWN ICON that windows XP USES

    the problem starts here... to (go into folder options in Control Panel > choose the 'file types' tab > find folder icon, click on it > choose Advanced Options > then choose Change icon.)

    Note that these are two icon files: the 'Change icon' button is available and highlighted on a launched the Advanced button, but not on the other...

    After messing around with New both of these icons of specific folder "Advanced settings" after closing and the application of the setting.

    What is happening now, it is that each folder I usually double-click thanks to my system all what happens is that the search method appears average while displaying no other files in the folder it self.

    I'm expieranced and you wrote the parameters passed to each "type of file"setting"for this purpose he adjusting back to the past and yet nothing happens...

    THE QUESTION IS >
    How to fix something like that

    &

    How do you get each folder in your system to view another icon rather than UGLY, LOW DOWN DIRTY DUNG COLORFUL FOLDER ICON DEFAULT.

    For the immediate problem:

    Doug Knox fix - http://www.dougknox.com/xp/scripts_desc/xp_folder_open.htm
    Search Companion starts if you double-click a folder or disk - http://windowsxp.mvps.org/searchwindow.htm
    For the desire to have different color records, you will need to use a third party software. Search on Wincustomize.com or similar sites that.
    MS - MVP - Elephant Boy computers - don't panic!

  • When I type a question in the search box, I want that my question to stay there until I checked all the results of the research

    I have Windows 7-64 bit

    When I type a Question in the search box, I want my Question to stay there, until I checked all the search results!

    Whenever I have check a result, my question goes, and then I have to type my Question even once! We don't waste any the end of time!

    My Question must stay there until I've done my research and I hit another Question!

    Thank you.

    N.Williams.

    Original title: Windows search problem

    Hello

    If you run a search in Windows 7 from the Start Menu search box, the search string is not saved in the search box. This is normal.

    However, if you are looking for using the search box on the upper right corner of the Windows Explorer window, the search string is saved in the search box and stays there until you delete it or close the Windows Explorer window.

    Reference links:

    Windows Search in Windows 7: http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-search

    Find what you are looking for: http://Windows.Microsoft.com/en-us/Windows7/help/find-what-you-are-looking-for-staying-organized-in-Windows-7

    Hope this information helps.

  • Questions about the APEX 5 hash functions

    I have two questions:

    1. the wwv_flow_item.md5 function seems to have changed from 4.2 to 5.0.  It used to produce a hexadecimal string of 32 characters, but now it produces a 128 character string. My guess is that it uses more MD5 hash, but perhaps SHA-3?  Can anyone confirm this?

    2. the APEX_UTIL package now has the GET_HASH function.  This function produces a significantly different hash string because it contains arbitrary printable characters, those not just hex. It seems that the hash chains are still 86 characters.  I can't find any explanation for this function.  Should I also use SHA - 3?  The API said to use it like this:

    APEX_UTIL. GET_HASH (apex_t_varchar2 ("val1", "val2", "val3"))

    My guess is that the apex_t_varchar2 function is to convert the input to an inner type.  If anyone can say more about it?

    3. (bonus question) APEX_UTIL API seems to indicate that get_hash function is now the hash function of choice for tasks such as the lost update detection.  Am I reading this right?

    Ed Sciore

    Hi Ed!

    1. you can configure the algorithm of checksum with the instance parameter CHECKSUM_HASH_FUNCTION (for example, on the Security tab of the admin app instance). During installation, we define the most secure algorithm that is supported on the version of your database (SHA-1 on 11 g, SHA-2 on 12 c). Unfortunately, a few settings and existing features had the old MD5 algorithm in their name. Maybe it's a bit misleading that they are not necessarily more using md5, but the alternative of the duplication of functions and give them different names was not ideal, either.

    2. the result is base64 encoded instead of a hexadecimal value, because it is more compact. APEX_T_VARCHAR2 is a table of varchar2, not a function.

    3 APEX_UTIL. GET_HASH is just a utility function. You can certainly use it for construction of the checksum for the lost update detection.

    Kind regards

    Christian

  • [JDev12.1.2, ADF, GlassFish 4] A few questions on the tutorial of Shay "Deploy Oracle ADF Essentials Applications to Glassfish"

    Hallo (Shay),

    I want to deploy my application Web ADF to GlassFish that is installed on a different server from the development computer.

    The application interacts with a MS SQL Server database.

    I have some doubts/questions on the tutorial of Shay https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to

    So far in the development phase, I deployed the application only to the JDeveloper-itegrated WebLogic Server on the development computer.

    Creating a connection pool

    • I could successfully creates a pool of connections only by copying the sqljdbc4.jar library in the C:\glassfish4\glassfish\libdirectory. Is this OK or should the library remain in C:\glassfish4\glassfish\domains\domain1\lib?
    • Is there a way to hide the password in the additional properties?
    • Is there any setting for the property should do (especially for MS SQL Server)? For example, somewhere I read that the isolation of transactions should be set to read uncommitted... but I did not understand why.
    • What is the difference between types java.sql.DataSource resources and java.sql.XADataSource?

    In JDeveloper application configuration

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) set to java: comp/env/jdbc/MyDatabase_DB_SQLServerDS. If I change this field value to jdbc / < name_of_jdbc_resource_created_in_GlassFish >, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What's wrong?
    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    Taking care of the libraries used by the application

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files I put in C:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Other questions

    • What is the difference between putting a library in the lib of GlassFish folder and put it in the folder lib of Domain1?
    • Deployment procedure used by Shay in his tutorial might also be used to deploy the application on a remote production server?
    • Is there a way to manually delploy an application, for example by copying manually under GlassFish project folder?
    • My final goal is as follows. I have a clean Setup that allows me (1) to continue to run the application in JDeveloper on its built-in WLS, (2) to test the application to the GlassFish that I have installed on the computer development and (3) delploy the application on the remote production server. Could help me do that?

    These are a lot of questions.

    I thank in advance all the users who want to respond and I hope that the answers to these questions will help also others.

    Ciao,.

    Federico

    Federico - most of your questions is generic Glassfish questions that do not specifically have anything to do with ADF - I recommend that you post on the forum of Glassfish. (Or read the Glassfish documentation for things like the difference between directories and deployment/admin console).

    >>

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) parameter tojava:comp / env/jdbc/MyDatabase_DB_SQLServerDS. If I change the value of this field of jdbc /, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What is the problem?

    This is because JDeveloper uses an integrated WebLogic when you run and therefor cannot use the data source of Glassfish.

    I suggest that make you this change only when you go to deploy on Glassfish.

    >>

    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    We don't know, as the matrix of certification for the ADF will show that we have not tested/certified this combination.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

    >>

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files that I put inC:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Use the properties of project-> libraries and class path to add the jar or create a library and add it to your project.

    Make sure that this library is deployed by default.

    >>

    • Deployment procedure used by Shay in his tutorial can also be used to deploy the application on a remote production server

    Yes

    > Is there any property setting should do (especially for MS SQL Server)?

    Oracle ADF business with several databases components

  • Appeal procedure in another procedure using the Out parameter slider - lesson

    Hello

    I am new to Oracle development so first I wonder if it is a good place with a simple way of the of on how to create stored procedures?  I'm looking for the most part at this stage for a quick read.

    Second, currently have hacked and slashed my way into getting one built.  It has 3 parameters and an output parameter sys_refcursor.  This procedure works.

    I want to have another created procedure that will call the above procedure and loop through each row in the setting out and write to a file.  Can someone point me to an example of this by any chance?

    Thanks for the help.

    Hello

    e28d78d3-c6c6-4BCE-b14f-0f6bf26fa17c wrote:

    Thanks for the reply.

    Here's what I have, but I'm getting many errors.  When I seem to fix one that I get a new one. Kind of like what it show me all questions vs one question at a time.  I never know if I create another error of my attempts at fixing what, in my view, could be the problem.  In any case, something to get used to.

    When you do any type of programming, take baby steps.  Write less code as possible, test what you wrote ' worm and, if it contains errors, correct them and test again.

    The PL/SQL compiler tries to show all errors, but often it is impossible to say what is a separate mistake, and which is a consequence of a previous error.  For example, the DECLARE statements in your code are perfectly valid PL/SQL statements, but they are the mistakes in the sense that they are not what you think, and you may not use them.  PL/SQL does not know that (I don't really know that, either, but I'm willing to guess in this case).  The works of compiler on the explanation that you really wanted to say SAID, until what it becomes obvious, maybe several lines later, that something makes no sense, but at this time, there is no way he could say that the undesirable DECLARE was the cause.

    So here is where I am stuck currently.  What I want should first, run the stored procedure and I think I do as you suggest.  Which returns data in the output parameter, which is of type sys_refcursor.  I think I would need to loop through each element that cursor and output to the file using the dbms_output you reference and like I did below.  This should be it.  Sounds simple enough, but it's where some of the basics for me.

    For example, by creating the procedure some examples have the name of the procedure and then some "AS", "IS".  When use the beginning and the end and when not I need?

    There is no difference betwwen

    CREATE PROCEDURE... AS and

    CREATE PROCEDURE... Use IS the one you prefer.  You must always one or the other, however.

    PL/SQL is written in blocks.  The basic structure of a block is

    DECLARE - optional, sometimes involved

    ...

    BEGIN

    ...

    -Optional EXCEPTION; forget it for now

    ...

    END;

    Almost all of the PL/SQL code is part of a block.  In fact, you could argue that anything not in a block isn't really PL/SQL.  (For example, CREATE PROCEDURE is really an SQL, PL/SQL not, it indicates the SQL that some PL/SQL compiler is coming.)

    You should always BEGIN and END keywords in a PL/SQL block; None is never optional.

    I think I'm doing the for loop correctly but I get an error on the portion of loop-end.  It is a part of these simple things that become I think that.

    That's what I have:

    CREATE OR REPLACE PROCEDURE APPS.boact_report_3

    AS

    DECLARE v_cur SYS_REFCURSOR;

    DECLARE v_file_out UTL_FILE.file_type;

    BEGIN

    I said earlier, DECLARED may be implied.  It's one of those places if there is nothing after CREATE PROCEDURE... IS and before STARTING, it is supposed to be a statement.

    You can have as many statements (0, 1, 2 or more) that you want in this section of the statement.  The semicolon at the end of each of them is all the separation you need each other; you don't need any keyword as STATED.

    Open the v_cur for

    bo_report (p_sv_id, p_start_date, p_end_date, out v_cur);  -stored procedure that girls v_cur witch is a sys_refcursor parameter.  It works

    END;

    BEGIN

    Don't forget, how to call a procedure is

    bo_report (x, y, z);

    not

    bo_report (x, y, z OUT);

    The key words are only necessary (and only used) in the declaration of a procedure, not in his appeal.  When you create a procedure, you decide if each argument is going to be an argument IN, an OUT argument, or IN OUT argument, and you tell the compiler that you decide.  When you call a procedure, you have no choice; each argument is IN, OUT or IN OUT has already been decided, and suffice to say compiling what are the variables (or expressions) that you use to play these predetermined roles.

    Dbms_output.put_line ('Date: ');

    v_file_out: =.

    UTL_FILE.fopen (' / public/scripts/smorau02 ', 'w_act.csv', 'W');

    FOR x IN v_cur

    LOOP

    () UTL_FILE.put_line

    v_file_out,

    x.cl_num | ','

    || x.wa_id | ','

    || x.Description | ','

    || x.a_date | ','

    || x.a_by | ','

    || x.v_Name | ','

    || x.SITE_NAME | ','

    || x.stage | ','

    || x.in_queue);

    END LOOP;

    UTL_FILE.fclose (v_file_out);

    END;

    Thanks again for the help.

    You have not to send the code to bo_report, so I can't run the procedure.  I do not notice any obvious mistakes immediately superior.

Maybe you are looking for