How to convert concurrent program out files .out file to .txt files in

Hi
Trying to know if there is a way to convert the concurrent programs' output files witn '.out' extension to files with extension '.txt'
thanks
kp

Why you want to change the file extension to txt instead of out?
I believe you cannot do and you are not supposed to change it. Controlling the report output to different types can be done as explained in these docs.
How to Setup The Report Output to Different Viewer Types in Oracle Applications 11i [ID 184375.1]
How to Control the Name and the Application that Opens the Concurrent Request Output File on the Client? [ID 316752.1]
Thanks,
Hussein

Similar Messages

  • How to view concurrent program LOG from custom FORMs

    Hi,
    How to view concurrent program LOG from custom FORMs?
    Thanks
    ESL

    Hi Thanks for your response....
    lets assume there are 2 buttons, first button to submit concurrent program and second button to view concurrent program output/log.
    Actually im able to submit concurrent program from oracle custom form(6i) in ebusiness(11.5.0.2) i.e first button (WHEN-BUTTON_PRESSED buitin).
    Rather user navigating to VIEW-> REQUEST, i would like to give option to user to view concurrent program output/log when user clicks on second button (WHEN-BUTTON_PRESSED buitin)
    How can i achive this?
    Thanks,
    ESL

  • How to assign concurrent program to concurrent manager

    Hi:
    How to assign concurrent program to concurrent manager? or the other way around. It was an interview question. for R12 or 11i
    Thanks

    Srini Chavali wrote:
    All concurrent programs, by default, will be run thru the Standard Manager. If you need to have a specific manager run a program, you need to define specialization rules (in Concurrent > Manager > Define, "Specialization Rules" button) for that manager.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12893/T174296T174302.htm#fndcpdcq.QUEUE_CONTENT
    And that's exactly what is mentioned in the docs referenced in my previous reply.
    Thanks,
    Hussein

  • How do I save a file as an unformatted txt file instead of html or rtf?

    How do I save a file as an unformatted txt file instead of html or rtf?

    Use menu Image>Image Size in the image size dialog uncheck Resample and enter 300 in the resolution field and click OK.  Note no Pixels are changed only the resolution setting get changed.  The use Menu Fils>Save As in the save as dialog use the file type pull down and select Tiff then click Save
    In the Tiff Option Dialog in the Image Compression  section set None The click OK.

  • How to get string (specified by line and column) from txt file with labview

    Hi everyone
    How to get string (specified by line and column) from txt file with labview
    thx 
    Solved!
    Go to Solution.

    As far as I know, a text file has no columns.  Please be more specific.  Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character?  You could the Read from Spreadsheet String function and set the delimiter to a space.  This will produce a 2D array of strings.  Then use index array and give the line number and column number.
    - tbob
    Inventor of the WORM Global

  • File with list of .txt files in a specific directory

    Hi,
    I need to create a file with list of .txt files in a specific directory (actually the command will be used by a java application).
    I am using the below command,
    ls home/apptmt/park/*.txt > home/apptmt/park/reportgen.txt
    but this command prints output as
    home/apptmt/park/report1.txt
    home/apptmt/park/report2.txt
    home/apptmt/park/report3.txt
    I need only the files in reportgen.txt file, like
    report1.txt
    report2.txt
    report3.txt
    any one help me on the command I should use to get this output?
    Thanks
    MT

    Thank you Dude!
    I just found out that
    cd /home/apptmt/park;ls *.txt > reportgen.lst works for me...
    I will try this one as well... thank you very much...
    MT

  • How to send concurrent program output file as an attachment in the notification mail

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

  • How to Email Concurrent Program Output to Email using Shell Script

    Hi All,
    Have a Nice Day,
    I have a tricky requirement and i was not able to achieve, let me explain my requirement
    I have created a PLSQL Concurrent Program named "Approval Update". This will do update and it display the number of rows updated.
    Now i need to take this concurrent program output and it needs to be send it to the person who submits this program as an email using shell scripts.
    I have referred meta link note as well as some OTN posts but I was not able to achieve this.
    Please help me to complete this As soon as possible, Thanks in advance for your help.
    Let me know if you need more clarifications.
    Regards,
    CSK

    I don't have much idea in shell scripts all i want is, in my shell script i need to get the parent concurrent program output and that needs to be emailed to the intended person.
    Please help to to get the shell script commands for this.I do not have any shell script to share, sorry! If you want the query to get the parent request_id so you can get the log/out file name/location from then please refer to:
    REQUESTS.sql Script for Parent/Child Request IDs and Trace File IDs [ID 280295.1]
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONC_REQ_SUMMARY_V&c_owner=APPS&c_type=VIEW
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE -- LOGFILE_NAME & OUTFILE_NAME
    Thanks,
    Hussein

  • How to default Concurrent Program delivery options to Email.

    As of r12.1.3, we have a new button in concurrent request submission window called "Delivery Opts"
    Clicking that button opens up a new window with delivery options.   Second tab contains the Email option.
    I have a need where a concurrent program is submitted it should email the output  by default without needing to manually enter email details every time.
    I know that this can be done via scheduled concurrent requests. But in my case this concurrent program will be part of the shipping document set and will be submitted through the form and not SRS. 
    In concurrent program definition window under AOL,  we have ability to assign default printer, but we do not have any ability to assign default email functionality.   It would be nicer if we had one.
    That having said,  does any one know how to do this ?  How can I submit a concurrent program from a form and default to email option ?   Where would I control this setup?
    Please advise.
    Darsh

    you may not be able to do that by setup, but if you submit this request using pl/sql code you can do this
    please check example below
    DECLARE
    l_conc_id NUMBER;
    l_user_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_ppl_id NUMBER := xxx; -- you can assign it from profile option value
    l_boolean BOOLEAN;
    BEGIN
    l_boolean :=
    fnd_request.add_delivery_option (TYPE => 'E', -- this one to speciy the delivery option as Email
    p_argument1 => 'Testing the Email option from back end', -- subject for the mail
    p_argument2 => '[email protected]', -- from address
    p_argument3 => '[email protected]','[email protected]', -- to address
    p_argument4 => '', -- cc address to be specified here.
    nls_language => ''); -- language option);
    IF l_boolean = TRUE THEN
    FND_GLOBAL.APPS_INITIALIZE (l_user_id, l_resp_id, l_resp_ppl_id); -- intialize the apps.
    l_conc_id :=
    fnd_request.submit_request (application => 'FND',program => 'XXXXXXX', -- you concurrent program.
    start_time => SYSDATE,sub_request => FALSE);
    END IF;
    END;

  • How to Know Concurrent Program Finish

    Hello,
    We are on Oracle EBS 11i10.2 and are creating a procedure that executes a Concurrent Program, and we need to know in this procedure when the Concurrent Program finishes, does anyone know how to do this?
    Thanks

    Hi,
    Please see these threads.
    concurrent request status
    concurrent request status
    How to set the Concurrent request completed with warning?
    Re: How to set the Concurrent request completed with warning?
    Thanks,
    Hussein

  • How to run concurrent program one after another

    hi,
    i have three concurrent program which are inter linked. how to set to run the concurrent program one after the another, ie.. not to run simultaneously.
    regards
    Yesukannan

    Hi Yesukannan,
    We need to call the wait for request in between the calling programs...
    Example:
    Package Pack1
    Procedure P1 ( ... )
    Procedure P2 ( ... )
    Procedure P3 ( ... )
    Procedure call Concurrent
    call P1 -- Capture the request id here
    wait for request -- send the above request id to this procedure.
    call P2 -- Capture the request id here
    wait for request -- send the above request id to this procedure.
    call P3
    end Package Pack1
    Regards
    JA..

  • How to run concurrent program from a menu

    Hello, I have a responsibility menu and want to enable the user to run a concurrent request by clicking on a menu function. Say I have a prompt called "Payslip Report", clicking on it will now run a concurrent program called "Payslip Report" but the user will now have to enter the parameters for the report.
    How do I achieve this?

    Hi
    You can achieve this defining a new function for the standard submissions form with parameters to specifically launch the payslip report, and even specify values for its parameters. Information can be found on System Administrator Guide under the "Customizing the Submit Requests Window" topic. The steps would be:
    - Create a new function using the Standard Request Submission Form (FNDSRS)
    Give it a meaningful name such as Launch Payslip Report, specify form as type and the user form name of the FNDSRS form
    Use the following parameters, specifying as values the short name of the payslip report and the application it belongs to:
    CONCURRENT_PROGRAM_NAME=PAYSLREP PROGRAM_APPL_SHORT_NAME=PAY
    - Use your new function in Your menu and assign the prompt "Payslip Report"

  • How to migrate concurrent programs?

    Hi friends,
    I have used FNDLOAD for concurrent program migration.But the problem is that i can migrate only one concurrent program at a time.Is there any other way to migrate more than one concurrent program at a time?

    You could write a script to migrate multiple AOL objects but my understanding is that FNDLOAD will only work on one object at a time. For example, you would have the following in a single text file:
    FNDLOAD apps/apps O Y DOWNLOAD afffload.lct file1.ldt VALUE_SET FLEX_VALUE_SET_NAME="Mars"
    FNDLOAD apps/apps O Y DOWNLOAD afffload.lct file2.ldf VALUE_SET FLEX_VALUE_SET_NAME="Venus"
    FNDLOAD apps/apps O Y DOWNLOAD afcpprog.lct file3.ldt PROGRAM APPLICATION_SHORT_NAME="CUSTOM" CONCURRENT_PROGRAM_NAME="Galaxy"Then execute the file as a batch file to download the object data as files, FTP the files to the server with another db instance and execute this file to upload:
    FNDLOAD apps/apps O Y UPLOAD afffload.lct file1.ldt
    FNDLOAD apps/apps O Y UPLOAD afffload.lct file2.ldf
    FNDLOAD apps/apps O Y UPLOAD afcpprog.lct file3.ldtIf there's a better way to efficiently move multiple objects, I'd like to hear about it.

  • How to Convert the content in BLOB field into a PDF file...

    Hi,
    I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
    I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
    Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
    I am using following example code to achieve my goal...
    Declare
    b blob;
    c clob;
    buffer VARCHAR2(32767);
    buffer_size CONSTANT BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset NUMBER(38);
    file_handle UTL_FILE.FILE_TYPE;
    begin
    select blob_data into b from blobdata where id=1;
    c := blob2clob(b);
    file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
         amount := buffer_size;
         offset := 1;
         WHILE amount >= buffer_size
         LOOP
              DBMS_LOB.READ(c,amount,offset,buffer);
              -- buffer:=replace(buffer,chr(13),'');
              offset := offset + amount;
              UTL_FILE.PUT(file_handle,buffer);
              UTL_FILE.FFLUSH(file_handle);
         END LOOP;
         UTL_FILE.FCLOSE(file_handle);
    end;
    create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
    -- typecasts BLOB to CLOB (binary conversion)
    IS
    || Purpose : To Convert a BLOB File to CLOB File
    || INPUT : BLOB File
    || OUTPUT : CLOB File
    || History: MB V5.0 24.09.2007 RCMS00318572 Initial version
    ln_file_check NUMBER;
    ln_file_size NUMBER;
    v_text_file CLOB;
    v_binary_file BLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_warning INTEGER;
    lv_data CLOB;
    ln_length NUMBER;
    csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
    V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    BEGIN
    DBMS_LOB.createtemporary (v_text_file, TRUE);
    SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
    DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
    SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
    RETURN v_text_file;
    END;

    user755667 wrote:
    Hi,
    I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
    I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
    Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
    I am using following example code to achieve my goal...
    Declare
    b blob;
    c clob;
    buffer VARCHAR2(32767);
    buffer_size CONSTANT BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset NUMBER(38);
    file_handle UTL_FILE.FILE_TYPE;
    begin
    select blob_data into b from blobdata where id=1;
    c := blob2clob(b);
    file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
         amount := buffer_size;
         offset := 1;
         WHILE amount >= buffer_size
         LOOP
              DBMS_LOB.READ(c,amount,offset,buffer);
              -- buffer:=replace(buffer,chr(13),'');
              offset := offset + amount;
              UTL_FILE.PUT(file_handle,buffer);
              UTL_FILE.FFLUSH(file_handle);
         END LOOP;
         UTL_FILE.FCLOSE(file_handle);
    end;
    create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
    -- typecasts BLOB to CLOB (binary conversion)
    IS
    || Purpose : To Convert a BLOB File to CLOB File
    || INPUT : BLOB File
    || OUTPUT : CLOB File
    || History: MB V5.0 24.09.2007 RCMS00318572 Initial version
    ln_file_check NUMBER;
    ln_file_size NUMBER;
    v_text_file CLOB;
    v_binary_file BLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_warning INTEGER;
    lv_data CLOB;
    ln_length NUMBER;
    csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
    V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    BEGIN
    DBMS_LOB.createtemporary (v_text_file, TRUE);
    SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
    DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
    SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
    RETURN v_text_file;
    END;I skimmed this and stopped reading when i saw the BLOB to CLOB function.
    You can't convert binary data into character based data.
    So very likely this is your problem.

  • How to stop concurrent programs from appearing in the SRS window ?

    Hi All,
    We have hundreds of custom concurrent programs registered under a custom application.
    Except for 3 hidden programs (which will be submitted internally from another concurrent program), all the others should appear in the SRS window. Therefore, instead of individually registering each program in the request group, we have registered the application itself, in the request group.
    However by doing this, the 3 hidden concurrent programs are also appearing in the SRS window. The concurrent program define form doesn’t allow us to uncheck the “show in SRS” checkbox if we have parameters define for a concurrent program.
    Is there any way that we can prevent these hidden programs from appearing in the SRS window, in our case?

    Hi,
    Create a new request group and add all but the 3 programs, using a PL/SQL script calling fnd_program.add_to_group.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

Maybe you are looking for

  • Java en Vista (compatibility)

    Are there any recent articles/websites about compatibility between Java and Vista, Especially older versions of the JRE, like 1.4.x and 1.5.x ? I found http://weblogs.java.net/blog/chet/archive/2006/10/java_on_vista_y.html Or is anyone here working o

  • [Solved] The one thing I hate about Vim

    Hi, I've started using Vim some time ago and I now understand why everyone loves it. There's one thing, though, that is driving me nuts; a little but very irritating behaviour. I hope to be understandable enough so that someone can help me. Basically

  • Connecting Toshiba 32C120U to Magnavox DVD Player

    I'm trying to connect a Magnavox DVD player (mdv453) to a Toshiba LCD (32c120u) and have no clue as to what I am doing. The connecter cord I am using has red, yellow and white...no green. This was a hand me down and on the DVD player it has the white

  • Step by step message mapping/testing  examples

    Hi! I have read many blogs and SAP literature about message mapping. However, none of them gives step by step details. Can anybody give any very detailed mapping procedures? Thanks a lot!

  • Spool query result to file

    Hi everyone, I would like to spool the results of my query to a CSV file with a delimiter ';' on a hard drive. I use Toad for Oracle, my script worked fine previously on version 9, and now I have version 10.1, and it doesn't work anymore. What happen