Load a file to a BLOB from Forms6i

Hy!
How can i load a file into BOLB using forms 6i?
Daniel.

To my knowledge there are two ways:
1) Using an OLE container. I don't know what patch of forms 6i you are using and I don't know if that works fine with BLOB but I know it does work well with LONG RAW columns. However, you will probably be able to retrieve your .DBF object only from within Oracle Forms 6i and you need a "helper application" installed on the client machine to display or do whatever needs to be done with the .dbf.
2) Using the DBMS_BLOB package. However, I am not very familiar with that approach. You may wish to do a search in this forum for BLOB and you may be able to find a solution using that package.

Similar Messages

  • How to load externl files (PDF) into BLOB column.  Please help.

    Hi All,
    I've currently been working on loading many external binary files (PDF) into BLOB column. After some digging, I learn that the SQL*LOADER can be used to load data from external files into table. I also got help from another forummate mentioning to use PL/SQL procedure to do so. Since I have not done anything like this before. So, my question is what is the simple approach needed to upload PDF files into a table(there is only one table containing BLOB column in my database). In addition, the LOBs can not be query-able, I wanted to list the contents of the LOBs column to make sure that I did successfully upload data into the database. How can I do that?. I do need your help. Please direct me step by step how to do so. Your help is greatly appreciated.
    Regards,
    Trang

    Hi,
    If the following link helps to you then great.
    http://www.exefind.com/oralobeditor-P25468.html
    Regards,
    Sailaja

  • How to upload blob from forms6i

    Hi,
    Anyone has idea how to upload blob
    using forms6i ?????
    Mehul

    Hi,
    Set-AzureStorageBlobContent copies a file from the host it is run on to Azure Blob Storage. Running this cmdlet on your local machine means it will copy files from your local machine to Azure Blob Storage. Running this cmdlet in a runbook means it will copy
    files from the sandbox running the runbook to Azure Blob Storage. Runbooks have no access to your local machine, since they run in Azure.
    If you want to interact with files on your local machine from within runbooks, you need to put the local files into Blob Storage, and then download them from Blob Storage within the runbook.
    Here's an example of PowerShell you could put in a runbook to download files from Blob Storage:
    $AzureConnectionName = "SomeAzureConnectionAssetName"
    $TempFileLocation = "C:\abc.cscfg"
    $StorageAccountName = "MyStorageAccount"
    $ContainerName = "MyContainer"
    $BlobName = "MyDeploymentConfig.cscfg"
    Connect-Azure -AzureConnectionName $AzureConnectionName
    InlineScript {
    Select-AzureSubscription -SubscriptionName $Using:AzureConnectionName
    $StorageAccount = (Get-AzureStorageAccount -StorageAccountName $Using:StorageAccountName).Label
    Set-AzureSubscription `
    -SubscriptionName $Using:AzureConnectionName `
    -CurrentStorageAccount $StorageAccount
    $blob =
    Get-AzureStorageBlobContent `
    -Blob $Using:BlobName `
    -Container $Using:ContainerName `
    -Destination $Using:TempFileLocation `
    -Force

  • Load external file as a blob?

    Hi!
    The target is: to check TGA file's color depth.
    How? - to load file as a blob and to read byte number 16.
    Similar to get information about compression etc...
    So, the question is - is it possible to read an external file by javascript in AE?
    Thank you in advance!

    Pg. 47 of the JavaScript Tools Guide CC.pdf talks about the File object. My guess is that you may need something more than just ExtendScript to dive that far into a file as I didn't see any obvious direct answer in the guide.

  • Getting errors loading flat file into BI 7 from application server

    We are able to load the file via local (from the PC) successfully but when we try and load the exact same file from the application server we get an error:
    Error 'The argument '151.8470707' cannot be interpreted as a number' when assigning application structure, line 478, contents "11 140604     1000 8110 902070    P..."
    What is really strange if we split the file into 2 we are able to load each of the sections successfully from the appliation server.  We have a need to load the whole file from the application server and don't wish to split it up.  Can anyone tell me how to make this work??

    what I should do is the following:
    open the 3 files you have using notepad and compare line 478 in the original file (that had the error) with the corresponding line in one of those 2 other files. what are the differences? the answer to this question might give you a clue.
    and if you don't see any differences try to cut and paste that one line with the error to a new 4th file and load this one and see if the error reoccurs (I think it will).
    regards, André

  • Loading class file stored in BLOB field

    - I am able to store and retrieve Java files and XML files in and from a BLOB field, but when I store a class file and try and load it using Class Loader, it us unable to load the class. The size of the class file increases by 1 byte when I retrieve it from the database. Is this some security feature by the JVM? Is it not possible to store, retrieve and load a class file from a database table?
    Thanks
    Harini

    Hi,
    First, I would suggest you use fiddler (http://www.telerik.com/fiddler) to compare these two different client requests, second, please try to use Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/) to do
    this instead of the Azure Web Storage Explorer. 
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SLOW load when file sent to CS3 from LR

    I have recently purchased a new PC w/Vista installed. I was using LR and CS3 and all was going well for a while. When selecting a file from LR that I wanted to edit in CS3, it would load in CS3 almost instantly. I was so thrilled because it used to take quite a while under my old machine. Now, all of a sudden, when I chose to edit a file in CS3, it can take up to a minute or more to get the file to open. While it's trying, my CS3 will show as (Not Responding) in the title bar, then the picture will finally open up. Also, nothing seems to open up in Camera Raw anymore. Yes, I know that LR has CR "embedded" in it, but what if I still want to use CR in CS3?
    Any thoughts on why the image load is so slow would be appreciated. I have 4 gb of ram, and a quad core processor.
    Jo

    Well, Well, Well, I actually found the answer to my problem in the CS3 forum.
    Topic
    Photoshop CS3 is slow to load or open files
    Robert Levine - 12:36pm Mar 20, 2008 Pacific
    If your default printer is a network printer change it to something local. If you don't have a local printer, that's okay. Just install any print driver you'd like and use that.
    I recently acquired a new "document" printer that was installed as a network printer. It has been set as the default. As soon as I changed the default back to my Epson R1800, my files load up quickly again. Who'd uh thunk it? Bless Robert Levine! Now all I have to do is remember to send documents to something other than the default printer!
    Jo

  • Plesae help- needing to read a blob from db into bytes[]

    Hi all,
    I am having a requirement to read a blob stored in the oracle table and convert it into bytes. I am loading this table (wwv_flow_files) with APEX.
    The code under page 1 is as follows:
    DECLARE
    z number;
    y varchar2(4000);
    x varchar2(400);
    b blob;
    BEGIN
    select filename,blob_content into x ,b from APEX_APPLICATION_files where name =:P1_FILE_NAME;
    select length(convertBlobToBytes(b)) into z from dual;
    :P1_RESULT := z;
    end;
    Java code is as follows:
    import java.io.*;
    import java.sql.Blob;
    public class convertBlob {
    * @param blob
    * @return
    public static byte[] convertBlobToBytes(Blob blob) {
         if (blob==null) return null;
         try {
         InputStream in = blob.getBinaryStream();
         int len = (int) blob.length(); //read as long     
    long pos = 1; //indexing starts from 1
         byte[] bytes = blob.getBytes(pos, len);           
    in.close();
         return bytes;     
    catch (Exception e) {
         System.out.println(e.getMessage());
         return null;
    PL/SQL wrapper is as follows:
    CREATE OR REPLACE FUNCTION convertBlobToBytes(p1 IN BLOB) RETURN LONG RAW AUTHID CURRENT_USER AS LANGUAGE JAVA NAME 'convertBlob.convertBlobToBytes(java.sql.Blob) return byte[]';
    I loaded this java class and pl/sql wrapper into the database using JDEVELOPER.
    But I am getting the length of the file, as twice the size.
    For example, When I run the program which reads the file returns the length of the file as a byte array, the length is 819.
    When I pass the same file as a blob from apex, to the java program that converts blob to bytes, the length of the file is 1638.
    And hence I am getting wrong results, further in the process.
    Can you please help me? Any help is appreciated.
    rgds,
    Suma.

    Hi all,
    Can any of you please help me out?
    rgds,
    Suma.

  • Storing a file in a BLOB field in the database through forms

    Hi, I want to have a form that lets the user choose a file he has on his client side and load this file into a BLOB field in the database.
    I know how to use "GET_FILE_NAME" to get the file, the second part is what I'm having problems with. Do I use an OLE object? How do I initailize it? Or what is the best way to go? Thanks.
    --Bassem                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Are you looking for something like this?
    DECLARE
       l_temp  clob;
       l_text  varchar2(2000);
    BEGIN
        l_temp := httpuritype('http://www.oracle.com/PO.xsd').getclob;
        l_text := substr(l_temp, 1, 2000);
        dbms_output.put_line(l_text);
    END;N.B.: Not Tested...
    Regards.
    Satyaki De.

  • How to load compile file

    I have been using third party software called Gauss in my java application. I compile Gauss file using Gauss compiler and then store compiled file ("xyz.e.gcg") in particular directory. After loading all Gauss related DLL into memory using System.loadLibrary(), I can execute this compiled file by passing relative and/or full path to Gauss native API (i.e. executeCompiledFile(String string)) which in turn load file into memory. This stand alone java program works fine. But with JAWS, since i don't know full/relative path of compiled file, i am not able to load compile file ("xyz.e.gcg") from jar file into memory. I am able to load all other resource files(i.e. *.gif, *.jpeg) and all required DLL from corresponding jar files into memory.
    How can i extract full/relative path of compiled file from jar file and pass it on to third party API.
    I used class loader to extract path of compiled file from jar file but that path doesn't work. I get following path for compiled file from class loader.
    file:/C:/Lukens/ToolKit/Toolkit%20for%20JAWS/resources.jar!/resources/toolkit/sva/proc_estimations_final.e.gcg
    Thanks
    Prashant

    You could read the compiled file from the jar (using java), and write a copy to a temporary file and then execute the temporary file copy.
    See also http://forum.java.sun.com/thread.jsp?forum=38&thread=443358

  • While loading a file ORA-00906 : left parente

    i'm trying to load a simple file with ODI, and using this loading to set a value for a Variable #vReadFile with reading line by line the file , and #vLineNumber specifie the number of the line to processes.
    here is the code for loading the file :
    select     C1     C1_C1
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=files_namesSNP$CRLOAD_FILE=C:\stage\ODI_sources\files_names/files_names.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=#vLineNumber SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=C1SNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    the error is : ORA-00906 missing left parenthesis
    best reagrds

    Hi Otmane ,
    Once again get the code freshely from the operator and paste it in the variable and assign your odi variable to $CRFILE_FIRST_ROW and then test it once again.
    Thanks

  • Load Flat File from App Server

    HI, all.
    I want load flat file from appliation server. I created CSV file and loaded it on app. server with FM ARCHIVEFILE_CLIENT_TO_SERVER. After I created datasource and tried load data in the infocube. In this procedure I encountered with two problem
    1. When I look file in AL11, I doesn't see cyrillic symbols, instead this symbols I see #.
    2. When I try load data with data source, I get exception RS_EXCEPTION 000 "File don't open"
    Anybody can help me resolve this problem?
    wbr, Fanil.

    Hi, kodanda pani KV.
    2. File is was closed.
    1. Can me you clearly explain what you meen?
    wbr, Fanil

  • Error Loading the file from application server

    Hi Team,
    I'm trying to load the .CSV file from application server and I'm getting the error message.
    In the data package
      Update to PSA --Green
      Transfer Rule -- Green
      Update Rule -  error ABORT was set in the customer routine 9998
                            Error 1 in the update
    Please help me to provide the solution.
    But when I try to load the other files there are no issues. thanks.
    Regards,
    Senthil

    Raj
      check the below links, which can helps to solve your issues
    Flat file data load
    flat file Data loading issue
    Mahesh

  • Infopackage-Load Many Files from Application Server and later Archive/Move

    Hi All..
      I have a doubt,   I have a requirement of take many files to load into BI 7.0..  I used the infopackage before with option:
    Load Binary File From Application server
      I load information successfully... only with one file ...but If I can load many files (with different names) like the next list.. I think it's not a good idea modify the file name (path) on infopackage each time).. :
    *All of this files will be on one server that itu2019s map into AL11.. Like
    Infopfw
    BW_LOAD_20090120.txt
    BW_LOAD_20090125.txt
    BW_LOAD_OTHER_1.txt
    u2026.
    Etc..
    This directory it's not in BW server.. It's other server..but I can load form this location (one file by one)
    Could you help me with this questions:
    -     How can I Use an infopackage with routine that take all the files..one by oneu2026 in order of creation dateu2026and load into Target? Is it possible?.. I have some knowledge of ABAP.. but I don´t know exactly how I can say to system this logicu2026
    -     In addition is it possible move this files to other locationu2026 like into Infopfwarchive u2026 just to have an history of files loaded.
    I saw that in infopackage you have an option to create a routine.. in ABAP codeu2026 Iu2019m a little bit confused because I donu2019t  know how I can specify all the path..
    I try with:
    Infopfw
    InfopfwFile.csv
    Infopfw
    This is the abap code that automatically you see and you need to modifyu2026
    Create a routine for file name
    This routine will be called by the adapter,
    when the infopackage is executed.
              p_filename =
              p_subrc = 0.
    Thank you for your ideas or recommendations.
    Al

    Hi Reddy, thank you for your answer
    I have some doubuts.. when you explain me the option:
    All the above files are appending dates at the end of the file....
    You can load the files through infopackage by using Routines and pick the files based on date at the end of the file..***
    I need to ask you if you think that when you know the date of the file and the infopackage pick each file... thi can work for many files??... or how it's possible control this process?
    About this option, I want to ask you If when you menction Unix code... where it's programed this code?.. in the routine of BW Infopackage??
    ****Or
    Create two folders in your BW in Application server level, in AL11 (ask Basis team)
    I call it is F1 and F2 folders.
    First dump the files into F1 I assume that the file name in F1 is "BW_LOAD_20090120.txt", using Unix code you rename the file and then keep in the same foleder F1 or move to F2.
    Then create InfoPackage and fix the file name (i.e. you renamed), so you don't need to change everyday your file name at infopackage level.Because in AL11 everyday the file are overwrite.
    To I get BW_LOAD_20090120.txt file in F1, then I renamed to BW_LOAD.txt and loaded into BW, then tomorrow I get BW_LOAD_20090125.txt in F1, then I renamed to BW_LOAD.txt....
    so in this way it will work.You need to schedule the Ubix script in AL11.
    This is the way how to handle the application server...I'm using the same logic.
    Thank you soo much.
    Al

  • I used a third party programme called Mackeeper UGHHH,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??how can i manually put these files back where they belong?SO upset!!

    I used a third party programme called Mackeeper UGHHH SOOO Stupid i know,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??and will not work even when i highlight one by one!!
    how can i manually put these files back where they belong?
    i know i should have used time machine but i have not set it up and its too late for that now
    i have been researching and racking my brain on how to put these folders and contents of them back to where they once were all of the contents of the folder are still in tact AND i have not emptied my trash,my programmes and some of my apps are not working properly now...i use my computer alot for making music and things are jumbled up now...
    is there anyone out there who knows the answer to my prayers on how to go about putting these folders/files back to where they came from to restore functionality to my mac..Yes and thank u if u were going to tell me i HAVE un installed mackeeper...A very sad and upset Mac user!! Cheers Shane

    hello there thank u so much for ur reply!! ok i uninstalled mackeeper now and the put back option is still in grey im so confused...i tried restarting my computer like u said and put back still in grey??!! the files that are in my trash are everything from Accounts,address book plug-ins,address book,adobe,aim.........then stuff like apple,Audio,....to caches color pickers,colors,com.apple.TCC,to DVD player to facebook,google to ilifemedia browser to itunes to keychains to movie effects,preferences printers to skype...my Native instruments files BUT not all of them my garage band but not all of it...it seriously looks like my whole library is in the trash i tried to put things back where i THINK they belong and it just added the item or folder under where i thought it went and didnt restore functionality to for instance google chrome and all my book marks are there....they seem to be only certain things from my library that would have added some functionality to apps and programmes like my garageband is missing stuff photobooth wont work so on.......kinda looks a bit like this thats only the half of it!! Cheers shane!!!

Maybe you are looking for

  • Podcast help for a noob

    Hey guys, noob to podcasts. My problem: I subscribe to a podcast, and it starts downloading the podcast program. It downloads for a bit, then stops, so I go to the podcast part of the library, and double click the program to play it, but all it does

  • BDC Questions

    Hi Can you give answers for these questions? 1)What are the transactions we should use in BDC? How do we use it? 2)How would you use BDC program to transfer material master record using MM01 transaction? Give me steps. 3)Could we use ME21N transactio

  • The screen is dark and i can barely see the icons.

    it seems like the brightness is all the way down but it is not. i've reset the ipod several times to no avail. can it be easily repaired at a good price or should i get another one?

  • Cannot cast java.io.serialiazable to int Error

    Dear Members, I have procedure in AM which is as follows: public int countRecs(String headerID) int count=0; count= integer value assigned from SQL Query* return count; I am calling this procedure from the CO of the page as follows: String headerID="

  • Invoice split due to different partner data

    Hi, Based on two sales orders, we would like to create one billing document. Here's the case: Sales order 1 (and delivery 1) has customer number A as sold-to party and customer number C as bill-to party and payer Sales order 2 (and delivery 2) has cu