custom setting simultaneous program

Hi all

I want to set a parameter of type DATE for a custom of concurrent program

in the code (SQL * more) I entered a similar State
where a.START_DATE = '& 1' '.

in the simultaneous parameters to the title of the validation form
value = FND_STANDARD_DATE
Defalut type = current date
Ticked set out

When I run the query is gives error, with the output given the message file
where a.START_DATE='2009/11/05 00:00:00 '
*
ERROR on line 14:
ORA-01861: literal does not match the format string


I use the correct set of values? Please suggest

Thank you
SK

Salvation;
*

ERROR on line 14:
ORA-01861: literal does not match the format string

Have you checked line 14? Please check below and see its helpful:

Topic: How to manage the new Date Formats in SQL * more and PL/SQL procedures? DOC - ID: 376034.1
Subject: OERR: ORA literal 1861 does not match the format string Doc ID: 19185.1

Please also visit:
http://www.FP.Tue.nl/dfez/FIM/Portal/doc/Conc_req.PDF
http://www.techonthenet.com/Oracle/errors/ora01861.php

Concerning
HELIOS

Tags: Oracle Applications

Similar Questions

  • Simultaneous program output. EXCEL must replace .xls

    Hi all

    We have a custom report xmlp with exit excel. Thanks to simultaneous program delivery options, we send out that email.

    E-mail from with an attachment. EXCEL format.

    If some users not able to open it. So how do you change the .csv or .xls format?

    Thank you

    But it is not useful.

    Anyway I got it by referring to the following Doc ID 1289476.1

  • Release of e-mail from a simultaneous program in PDF to any member of the team


    Hi team,

    I am running Forms of verification Signon periodically, I want the output of this program should be sent to my client in PDF Format.

    How to set up above the need simultaneously to exit in a PDF Format email.

    Please suggest me.

    Thank you

    Anmisha.

    If the output of the program is already a pdf file, then you can just set delivery Options on screen presentation simultaneous program, which will automatically send program output to the e-mail address specified (s).

    Or

    If the output of your program is not in pdf format, you can create a model of data & data definition and exit at the pdf format and set the delivery option.

    I hope this helps.

    See you soon

    AJ

  • How to stop simultaneous programs to the external server

    Hello

    Oracle R12.1.3 application

    We have a database server node, an internal server and an external server. Now, I want to stop the concurrent program to the external server.

    I changed the variable s_concstatus to disabled and ran autoconfig. But still the current simultaneous program to the external server. A few times the program simultaneous log file is created in external rather than internal server server.

    Please tell the procedure how to stop the program contributing to the external server.

    Is order I need to run autoconfig between server to affect you.

    Please notify.

    Thank you

    I tried to change the variable s_concstatus to disabled but no luck.

    It is set correctly on the internal node?

    What happens if you start the CM on the node internal then? What is the bahvior?

    Thank you

    Hussein

  • Simultaneous program with RTF/EXCEL output

    Hi all


    I updated java version 7. When I go to the simultaneous program with HTML/PDF output, is the opening.

    But when I display the output of the simultaneous program with RTF/EXCEL, it does not open. I think we have to put something in the Solution Explorer.

    I was able to open before the upgrade and java 6.

    Version of the EBS - 12.1.3

    DB 11.2.0.3

    OS - RHEL5 64 bit

    JRE - 7u25

    Please help me solve the problem.

    Thank you

    SAL

    Hi Sal.

    How do you set Internet Options ask confirmation for file downloads and download file?

    Octavio

  • Call the simultaneous program

    Hello

    Could you suggest me a logic on the below:
    ============================================

    I've written a procedure/package (program main competitor).
    In this (procedure above), I have to call a child simultaneous program 5 times (these 5 programs must run in parallel).
    That is to say... I'll call him through FND_REQUEST. SUBMIT_REQUEST.
    1 Conc socekt child will be setting = 1
    .
    . Simillarly
    .
    5th child Conc socekt will be setting = 5

    I thought I had TO LOOP 1.5 and then call FND_REQUEST. SUBMIT_REQUEST.
    Exactly how call.

    Could you thow some thoughts.

    Database: 10g

    Thank you

    something

    declare
    v_request_id   number;
    begin
      for i in 1 .. 5 loop
        v_request_id := fnd_request.submit_request(application => ,
                                                   program     => ,
                                                   description => NULL,
                                                   start_time  => NULL,
                                                   sub_request => FALSE,
                                                   argument1   => i);
    
        if v_request_id > 0 then
          fnd_file.put_line(fnd_file.log, 'successfully submitted');
          commit;
        else
          fnd_file.put_line(fnd_file.log, 'not submitted');
          rollback;
        end if;
      end loop;
    end;
    
  • Error on the definition of the stored procedure in the simultaneous program

    Hello

    I created a stored procedure and wanted it attached to the concurrent program. The purpose of this stored procedure when you run it in simultaneous program, the system retrieves the data from the csv file downloaded from the server, then it will insert in the tables of SO / the Interface API. Below, the error occurred.


    * Starts * 18 April 2012 18:18:42
    Error ORACLE 6550 in FDPSTP

    Cause: FDPSTP failed due to the ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'SPKO1 '.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Steps I did to set the stored proc
    < < simultaneous executable program > >

    Executable: RDRAGON_SO_IMPORT
    Short name: RDRAGON_SO_IMPORT
    Application: Order management
    Method of execution: PL/SQL, stored procedure
    Run file name: SPKO1

    < < concurrent program - set > >

    Program: RDRAGON SO IMPORT
    Short name: RDRAGON_SO_IMPORT
    Application: Order management
    Name of executable: RDRAGON_SO_IMPORT
    Method: PL/SQL, stored procedure

    Format: text
    No set

    -Here are my stored procedure-


    CREATE OR REPLACE PROCEDURE APPS. SPKO1 IS
    FH UTL_FILE. TYPE_DE_FICHIER;
    v_line VARCHAR2 (32767).
    v_source_id NUMBER (10);
    v_created_by NUMBER (10);
    v_creation_date DATE;

    v_org_id NUMBER (10);
    v_orig_sys_docref VARCHAR2 (50);
    V_Customer VARCHAR2 (360);
    v_customer_prev VARCHAR2 (360);
    v_sold_to_org NUMBER (10);

    v_orig_line_ref NUMBER (10);
    v_item_code VARCHAR2 (2000);
    v_ordered_qty NUMBER (10);
    v_selling_price NUMBER (10);
    v_count NUMBER (10);
    v_stat NUMBER;


    /******************************************************************************
    NAME: SPKO
    PURPOSE:

    REVISIONS:
    Worm Date Description of the author
    --------- ---------- --------------- ------------------------------------
    1.0 16/04/2012 administrator 1. Created this procedure.

    NOTES:

    Keywords to replace automatically available Auto:
    Object name: SPKO
    SYSDATE: 16/04/2012
    Date and time: 16/04/2012, 17:55:42 and 16/04/2012 17:55:42
    Username: admin (set in Options of TOAD, editor of the procedure)
    Name of the table: (defined in the dialog box "New PL/SQL object")

    ******************************************************************************/
    BEGIN
    v_source_id: = 6;
    v_created_by: = - 1;
    v_org_id: = 204;
    v_customer_prev: = null;
    v_orig_line_ref: = 0;
    v_stat: = 0;

    SELECT header_id in (DE) v_orig_sys_docref
    Select header_id
    of OE_ORDER_HEADERS_ALL
    creation_date desc order
    ) WHERE ROWNUM = 1;


    FH: = UTL_FILE. FOPEN ('XXANDDIR2', 'myfile1.csv', 'R', 32767);
    < < file_read_lines > >
    LOOP
    BEGIN
    UTL_FILE. GET_LINE (fh, v_line);

    V_Customer: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 1") ',' "') ','" ');
    v_creation_date: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 2") ',' "') ','" ');
    v_item_code: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 3") ',' "') ','" ');
    v_ordered_qty: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 4") ',' "') ','" ');
    v_selling_price: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 5") ',' "') ','" ');
    v_orig_line_ref: = (v_orig_line_ref + 1);

    If v_stat = 0 then
    v_orig_sys_docref: = (v_orig_sys_docref + 1);
    end if;

    SELECT hca.cust_account_id from v_sold_to_org
    OF hz_cust_accounts AOB.
    HP hz_parties
    WHERE hca.party_id = hp.party_id
    AND hca.request_id is null
    AND hp.party_name = v_customer;

    If v_stat = 0 then
    INSERT INTO OE_HEADERS_IFACE_ALL)
    order_source_id,
    orig_sys_document_ref,
    org_id,
    CREATION_DATE,
    created_by,
    last_update_date,
    last_updated_by,
    operation_code,
    sold_to_org_id,
    booked_flag)
    VALUES)
    v_source_id,
    ('TEST' | v_orig_sys_docref).
    v_org_id,
    v_creation_date,
    v_created_by,
    v_creation_date,
    v_created_by,
    "INSERT."
    v_sold_to_org,
    'Y') ;
    commit;
    end if;

    INSERT INTO OE_LINES_IFACE_ALL)
    order_source_id,
    orig_sys_document_ref,
    orig_sys_line_ref,
    inventory_item,
    org_id,
    ordered_quantity,
    unit_selling_price,
    unit_list_price,
    CREATION_DATE,
    created_by,
    last_update_date,
    last_updated_by,
    operation_code)
    VALUES)
    v_source_id,
    ('TEST' | v_orig_sys_docref).
    v_orig_line_ref,
    v_item_code,
    v_org_id,
    v_ordered_qty,
    v_selling_price,
    v_selling_price,
    v_creation_date,
    v_created_by,
    v_creation_date,
    v_created_by,
    "INSERT");
    commit;

    v_customer_prev: = v_customer;
    If v_customer_prev = v_customer then
    v_stat: = 1;
    on the other
    v_stat: = 0;
    end if;
    -DBMS_OUTPUT. Put_line ('Col1: ' | v_source_id |', Col2: ' | v_creation_date |', Col3: ' | v_created_by |', Col4: ' | v_updated_date |', Col5: ' | v_updated_by);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    OUTPUT file_read_lines;
    END;
    END LOOP;
    SELECT count (*) in the OE_HEADERS_IFACE_ALL v_count;
    DBMS_OUTPUT. Put_line (' record Total inserted successfully: ' | v_count);
    UTL_FILE. FCLOSE (FH);

    END SPKO1;
    /


    But when I run the stored procedure using TOAD his work.

    Help, please. This is my first time to attach the stored procedure in the concurrent program.

    Thank you very much.

    Kind regards
    Diane

    Published by: peopsquik08 on April 18, 2012 03:58

    as clive_t solier
    >
    You must explicitly reference the settings out
    >

    Try

    DECLARE
    VFILE VARCHAR2(32767);
    V_SOURCE_ID NUMBER;
    --
    ERRBUF VARCHAR2(200);
    RETCODE NUMBER;
    
    BEGIN
    VFILE := 'myfile1.csv';
    V_SOURCE_ID := 6;
    
    --APPS.OMORDERLOADER.SPKO1 ( VFILE, V_SOURCE_ID );
    --COMMIT;
    
    APPS.OMORDERLOADER.SPKO1(
        ERRBUF => ERRBUF,
        RETCODE => RETCODE,
        VFILE => VFILE,
        V_SOURCE_ID => V_SOURCE_ID
      );
    END;
    

    but the code above to test your proc

    to run concurrent SQL, you can use fnd_submit.submit_program

  • How to enable and disable a simultaneous program to a Pl/sql Package

    How to enable and disable a simultaneous program to a Pl/sql Package

    I just want to know why this not prvent not the program to run, it updates the backend for open State helped N, but not in Frontend.

    If you can advise on the same.

    Did you use the API to change the ENABLED_FLAG of 'Y' "N"? If so, you commit the changes? What happens if you ask this program contributing to the application (simultaneous > program > set), can you confirm that it is disabled then if this has been done since the backend? The program remains active after the deactivation of the application it?

    Thank you
    Hussein

  • Oracle Apps-details of the simultaneous program schedule

    Which table I can find the details of the simultaneous program schedule.

    NB: -.
    I know that select RESUBMIT_TIME, RESUBMIT_INTERVAL from FND_CONCURRENT_REQUESTS,
    RESUBMIT_TIME, RESUBMIT_INTERVAL will be the details of the schedule.


    But the table fnd_concurrent_requests is get purged periodically, how can I find the Masters details of scheduling of the competitor.

    Thanks in advance,

    Arya mutima.

    This gives a whirlwind...

    Kind regards
    Jon

    SELECT req.request_id
    , decode (prg.user_concurrent_program_name, 'Report Set', ' report:' | req.description, prg.user_concurrent_program_name) AS the name
    argument_text as parameters
    req.resubmit_interval
    , nvl2 (req.resubmit_interval, "Periodically", nvl2 (req.release_class_id, "the specific days", "Once")) AS schedule_type
    , decode (nvl2 (req.resubmit_interval, "Periodically", nvl2 (req.release_class_id, "the specific days", "Once")),)
    "Periodically", "every" | Req.resubmit_interval | ' ' || Lower (Req.resubmit_interval_unit_code) | 'from ' | Lower (Req.resubmit_interval_type_code) | "from the previous run,"
    'Once', ' to:' | '. TO_CHAR (req.requested_start_date, ' HH24 DD-MON-RR '), ' each: ' | Annex CRC.class_info)
    fus.user_name as owner
    , to_char (requested_start_date, "HH24:MI:SS MON-DD-YYYY) as next_submission
    Of
    PRG apps.fnd_concurrent_programs_tl
    apps.fnd_concurrent_requests req
    apps.fnd_user was
    apps.fnd_conc_release_classes crc
    WHERE 1 = 1
    AND prg.application_id = req.program_application_id
    AND prg.concurrent_program_id = req.concurrent_program_id
    AND req.requested_by = fus.user_id
    AND req.phase_code = 'P '.
    AND req.requested_start_date > sysdate
    AND prg.language = 'en '.
    AND crc.release_class_id (+) = req.release_class_id
    AND crc.application_id (+) = req.release_class_app_id
    ORDER BY name

  • Installer for the simultaneous program defined with the parameters - Script SQL

    I wrote a very simple sql script and I want to save it as a simultaneous Oracle program. I have included a parameter field in the sql script to allow the entry of a value to determine the number of days prior to the script. The script runs correctly in SQL * Plus, but when I try to record it as a competitor Oracle program I get the following errors below:
    This works in SQL* PLUS
    
    SELECT emp_id, amount
    FROM tblSalaries
    WHERE hire_date > SYSDATE-&Days;
    
    Enter value for Days: 7
    old    3: hire_date > SYSDATE-&Days
    new  3: hire_date > SYSDATE-7
    
    And it provides my results....
    Although when I save this as a simultaneous program and set the configuration setting and run the simultaneous program and enter the number in the parameter field, work ends with an ERROR with the following:
                                                                                                             
    Enter value for Days: EXEC FND_CONC_STAT.COLLECT;
    hire_date > SYSDATE-EXEC FND_CONC_STAT.COLLECT; and
                                        *
    ERROR at line 3:
    ORA-00933: SQL command not properly ended 
    If I put single quotes around '& days', in line 3, I get a different error:
    ERROR at line 3:
    ORA-01722: invalid number 
    Do you know what could be the problem?
    Thanks for the review!

    You can try one of these approaches-

    1. replace '& days' in your script with "& 1"- or-".

    2. Add the following to your script at the beginning

    Days := &1;
    

    PL see the developer's Guide Application for your specific version http://www.oracle.com/technology/documentation/applications.html EBS

    HTH
    Srini

  • Oracle Apps: Simultaneous program: host: program state WARNING of return

    Hello

    Is there a way we can send the ALERT status for the host in simultaneous program (shell script) function in Oracle applications.
    Exit 0 <-success
    Output 1 <-error
    Output 2 <-returns ALWAYS State as ERROR

    Thank you.

    Yes, put something like the following in your shell script to define the status of implementation in custody:

    MYSTATUS ='sqlplus-s $1 SET FIELD FEEDBACK OFF PAGESIZE 0
    declare
    l_result boolean;
    number of l_session_id;
    Start
    fnd_global. INITIALIZE (l_session_id, null, null, null, null,-1, null, null, null, null, $4, null, null, null, null, null, null,-1);
    l_result: = fnd_concurrent.set_completion_status ('WARNING', 'Log file review for more details.');
    commit;
    end;
    /
    "exit";
    !`

    Kind regards
    Gareth

  • Periodical simultaneous program

    Hi all

    We have a simultaneous program.
    And a setting of this concurrent program to a sequence.
    We use the sql statement in the failed State, select double AAA_S.nextval.

    For example,.
    Running on first use, the parameter will be 1.
    The second time running, the parameter will be 2.
    ....

    When we put that competitor as a periodic competitor, we hope that it will get 1,2,3,... of the sequence as a parameter for each series.

    But there are still, it get 1 for each series.

    Ago any update for evil in our competitor?
    How to meet this requirement?

    Thanks in advance.
    Best regards
    Zhxiang

    Hello

    Please be (Note: 267047.1 - how to schedule A simultaneous who has a Process parameter increment).

    Kind regards
    Hussein

  • How to create a value fixed for simultaneous program?

    Hi friends,
    I create a simultaneous program with a period of setting...

    In the value set for parameter period, I use the following query:
    -where application_id = 101
    and set_of_books_id =: $PROFILES$ .gl_set_of_bks_id
    and closing_status IN ('o', 'F', 'C')
    order of period_year, period_num' -.

    In my cursor, I have one condition ' where set_of_books_id = '.
    How can I switch the whole above ID of books in the cursor? It does not work when I'm defining another parameter like book and passing this value to the cursor...
    I need this period parameter to return all periods for all the books where we run the concurrent application of... I also need to get all of the books for my cursor IDs...

    I hope I'm making sense... What I'm trying must have the period setting and also an OB id in condition of cursor...
    Rgds,

    Please use the following example

    Start
    FND_GLOBAL. APPS_INITIALIZE (user_id-online-1, resp_id-online 51901, resp_appl_id-online 222);
    end;

    DECLARE
    SET_BKS VARCHAR2 (20);
    BEGIN
    FND_PROFILE. GET ('GL_SET_OF_BKS_ID', SET_BKS);
    DBMS_OUTPUT. PUT_LINE (SET_BKS);
    END;

    Maybe this will help you

    Concerning
    Nitin

  • the log output to a master simultaneous program log file

    I run a simultaneous (cc1) program that calls a simultaneous program (cc2) XML editor and the production of a file.

    I implemented an afterReport trigger to return some report details that are required to be recorded in the log file of cc1.
    I am passing the value of request of CE1 in CE2.
      </dataStructure>
      <dataTrigger name="afterReport" source="My_PKG.after_report(:TOTAL_DR,:TOTAL_CR,:TOTAL_ROWS,:CC1_REQ_ID)"/>
    </dataTemplate>
    In My_PKG.after_report, I can write the information easily to write to the usage of CE2 log file...
    fnd_file.put_line(fnd_file.log,'total_dr: ' || to_char(total_dr));
    .. .as is the program running simultaneously.

    but... anyone know if it is possible to write this detail in the log file of cc1 while still under the control of cc2?

    Thanks in advance,

    Gus...

    I don't think you can do it with standard features, but (in theory!), it would be possible to write custom code to determine the name of the log created by the concurrent request of parent and use utl_file file add / to write about it.

    HTH
    Srini

  • PDF generated by simultaneous program, do not print to the default printer

    Hello

    I have a simultaneous program which has a RTF (XML model) model attached to it. In the definition of concurrent program, we missed a printer (it's an old printer). but the output that is printed about him is a kind of exit with all sorts of strange characters, weird. but when I try to open outpput simultaneous program and print it to a printer the out prints correctly.
    So how can make the pdf out put to print directly to a printer? Is there a set we need to do.

    Help, please. and if there is no documentation for this issue then please send it to me. My id is [email protected]

    Thank you
    Nisha

    Hi Nisha

    Ello again...

    You must configure the blocks print driver. This will allow the conversion of XMLP PDF to postscript or PCL - depends on your printer. see the user's guide for pasta available from Metalink

    Pie

Maybe you are looking for

  • Malware popup el capitan

    I sometimes get a popup of malware which forces me to restart my mac mini to get rid of it. This happens on chrome or firefox. What would you recommend I do? Thank you

  • I'm playing msn Backgammon but I receive a "General error".

    When I try to play backgammon msn I get a general error message.  He said also to disable my firewall (which I tried) and close a bunch of ports (80, 335, etc), but nothing works, I always get the message

  • Change password protected tab

    Hello I found this vi on this forum that creates a password on the third tab (in the example). I tried to change it to protect only the first tab (with the control button to relock the tab on the first page too), but it did not work. Also, is it poss

  • HP Pavilian sounds distorted then went

    Hello I was watching something online when the sound has become distorted (already happened) then turned off laptop and restatred worked fine for 20 minutes, then he returned all distorted. It off again and it starts again, but this time the sound is

  • Spooler subsystem has encountered a problem and needs to close

    I tried several ' fixes, including a session of one hour with HP on the phone and nothing has worked. " The computer is a unit of HP6000 Small Form Factor and the error is continuous.