Is is posible to use the zip command from inside sp?

Hi,
I have a requirement like i need to write the selected column
from table and i want to write in a file and need to zip is it
possible? command line will work inside sp??
Thanks,
Rangan S

I am sorry for the previous answer . i know upto creating file writing into that
using sp? using UTL_FILE operation.
but i want to zip the file --> this part i wanted to do in sp?
will it work
Thanks
Rangan s

Similar Messages

  • How do I use the a command from a .dll with labview?

    I want to use for example the M8784Open() command to control an M8784
    photon counter.  I know how to place a call library function node
    but don't know where to go there. The user manual for the photon
    counter has the following explanation of the M8784Open() command but I
    don't know how to use their advice in labview!
    7-3-1 M8784Open( )
    Declaration HANDLE M8784Open( BYTE Board );
    Parameter
    BYTE Board
    Specify the board to be used: M8784_MASTER or M8784_SLAVE. Specify both
    when making 2-channel measurements simultaneously. It is not possible
    to specify M8784_SLAVE only.
    Return value A handle for the M8784 is returned when the function has succeeded..
    INVALID_HANDLE_VALUE is returned if the function has failed..
    Explanation Calls a handle to allow the M8784API.dll to use the M8784.sys driver.
    Hereafter, specify this API’s return value (handle) when using other APIs.
    When quitting M8784 operation, call up M8784Close( ) to cancel the driver.

    You need to find out the equivalent number of the parameter. Somewhere in your documentation, or inside a file (for example, a header .h file in C/C++) you will find the definitions of each parameter.
    For example, M8784_MASTER may have the value 1 and M8784_SLAVE the value of 2. You already know that it is a BYTE, so it will be a number of type U8 in LabVIEW. You need to find the exact values.
    Probably, by value "A" it means the hex number "A", which is 10 in decimal. You need to find that in your documentation.
    You also need to find the type HANDLE. It can be a BYTE, etc. Once you know that, find the value of INVALID_HANDLE_VALUE, so you can test for the error.
    Most of this information can be found in the document Using External Code in LabVIEW. Check your help file, or check this link.
    Regards;
    Enrique
    Message Edited by Enrique on 09-29-2005 10:36 AM
    www.vartortech.com

  • How to use the google search from inside a java program

    Hi guys
    How can i use google search in my java program?
    What will be the type of the reply i get back from google?
    Thanks in advance
    [http://javamilestone.blogspot.com/|http://javamilestone.blogspot.com/]

    Hi,
    You have here some examples about how to make search on google from a Java application.
    The type of reply is JSON
    Here some documentation about it:
    [http://code.google.com/apis/ajaxsearch/documentation/#fonje|http://code.google.com/apis/ajaxsearch/documentation/#fonje]
    And here some snippets:
    [http://code.google.com/apis/ajaxsearch/documentation/#fonje_snippets|http://code.google.com/apis/ajaxsearch/documentation/#fonje_snippets]
    Regards,
    David.

  • A strange problem using the zip files

    I'm currently working on a university project with another student in which we use zip files (using the java ZipFile , and ZipOutputStream classes), we write certain data to a zip file (and verify that it is there by checking the disk). and later we read the zip file, and write it back , appending some data at the end of the file.
    although we see the changes actually take place on the disk , in one of the cases when reading the data we don't see the data we have appended before (although it is physically written on the disk).
    testing has revealed that this has something to do with the rename command or java being unsynchronized with the data actually on the disk (caching problem?).
    we use this code to preform the process:
    ZipFile zf= new ZipFile( ((Integer)lexicon.get(keyword)).intValue()+".zip");
              BufferedInputStream input= new BufferedInputStream(zf.getInputStream(new ZipEntry("data")));
              // create a temporary new zip file.
              ZipOutputStream zipst= new ZipOutputStream(new FileOutputStream( ((Integer)lexicon.get(keyword)).intValue()+".tmp.zip"));
              BufferedOutputStream output =new BufferedOutputStream(zipst);
              zipst.putNextEntry(new ZipEntry("data"));
              // stream the contents of the old file into the new file
              //(we do it this way because of the inability of the java zip file interfaces to add to an existing zip file)
              int current = input.read();
              while(current!=-1){
              output.write(current);
              current = input.read();
              output.write(entry.getBytes(false)); // add the new entrys.
              output.flush();
              zipst.closeEntry();
              output.close();
              // erase the old file.
              File toErase = new File( ((Integer)lexicon.get(keyword)).intValue()+".zip");
              toErase.delete();
              // rename the temporary file to the old files name.
              File toRename = new File( ((Integer)lexicon.get(keyword)).intValue()+".tmp.zip");
              toRename.renameTo(new File( ((Integer)lexicon.get(keyword)).intValue()+".zip"));
    we use:
    1. j2sdk 1.4.2_05
    2. running under libranet linux.
    any help will be appreciated

    the data does indeed get lost in the course fo rewriting the file, e assume this is some sort of synchronization issue with java and the file system.
    addig enteies to an existing zip file would have been great, if we had it a few weeks ago , we had to make do without this ability , and all of the code is already written and mostly working (except for the problem I mention) and we don't really want to rewrite the zip file access.
    additional testing has shown that the data gets lost when we use the rename command.
    very strange...
    thanks for the input

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Do we need a ODI agent to be running for using the startscen command

    Do we need a ODI full installation(both server and client) for using the Startscen command or just the client install should be enough. And also do we need a ODI agent to be configured and running for using this StartScen command
    Thanks

    ODI client is an agent.
    So you don't need to declare one more if not needed on your infrastructure.
    But to run odistartscen you need to configure the odiparams.bat with your repository connexion.
    If not it will try to connect by default to the demo repostory on HSQL.
    best regards,
    Brice

  • I am fairly new to MacBook. I want to copy a picture from a web site to Word and i can't select it using the usual command. What am I doing wrong? With windows it was very simple

    Why can't a copy a picture from the web in MS word using the available commands?

    Ask Microsoft by posting in their forums.  Not an Apple product.
    Microsoft for Mac Support

  • LR V1.2 Having problems using the find Command

    Have just recently started using lightroom and so far managing most applications imported a series of photos and after import added keywords to them using the find function I cannot get images to appear. What seems to happen is that in the keyword tag and the folders any of the headings that contain the keyword become active the remainder show a zero no in number of images held in that folder but no images on screen
    can anyone assist me
    Peter

    thanks for the reply
    have switched of global filters, made sure that using the Find command have set keywords in "text box" and in the "rule box "contains". When I then enter a key word as soon as a type the first two or three letters
    a message appears on the screen no "No photos in the selected keyword Tag" Also when you look at the folders which have a series of numbers indicating the photos in the directory the first number in each set turns to 0 with the exception of the folder and sub folder were the images are
    So have not managed to make any progress
    Peter

  • How do I turn off the alt scroll zoom?  When I'm in Adobe photoshop and illustrator using the pen tool, alt is utilized for another short cut.  I would like to use the alt command for the pen tool instead of zooming into the screen.

    How do I turn off the alt scroll zoom? 
    When I'm in Adobe photoshop and illustrator using the pen tool, alt is utilized for another short cut.  I would like to use the alt command for the pen tool instead of zooming into the screen.

    I tend to select things from left to right and every time I am moving in a downward right diagonal motion during lasso selection I am missing a clear view and I am tending to have a more sloppy selection.  All this does is slow me down since I need to go back and hit those areas again.  The big arrowhead just get's in the way.  The original lasso tool with the thin line and small active point at it's lower left was far better for me.
    I don't like turning the cursors to precise because I like to see the active tool icon where my cursor is and as the icon changes as I hold modifier keys down.  If I am forced to get comfortable with using pricise cursors I guess I will, but man, I've never had to do this in my 15 years of photoshop use...
    I would absolutely LOVE to find a way to get the old lasso icon -- without the arrowhead above it.
    Is there any chance this option could be inlcuded in cursor preferences?  I'd give much thanks, Adobe.

  • What are the advantages/disadvantages of using the Form Command over Creating a User Form in VBA?

    I’m in the early stages of creating a spreadsheet that will require data entry into the worksheet. The worksheet could get to 1000s of rows, depending on the particular user.
    When I refer to the ‘Form Command’ I’m referring to the option of adding a Quick Access Tool bar button by selecting ‘more commands’, ‘all commands’, ‘Form…’
    My questions/concerns would be relating to ‘should I develop this spreadsheet with the Form Command or a User Form in VBA?
    Concerns/Questions:
    Deployment to other users
    Protecting worksheet cells so the user can only add records using the form command or the user form in vba. In other words, don’t allow users to edit cells that are not within the table structure of the sheet or add rows if they’re not using the form
    Data validation when entering data…
    Keith
    Keith Aul

    Hi,
    Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
    That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
    for. You also have the possibility to work on placements of the data entry.
    So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
    Just my 2 cts
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • Suddenly with version 9 and 10 i cant use the shortcut command of ctrl+shift+t to open the most recently closed tab.

    Suddenly with version 9 and 10 i cant use the shortcut command of ctrl+shift+t to open the most recently closed tab. a feature used several times a day, previously. This is very Frustrating to me, i have tried looking up a tool keyconfig 20110522 and looked that it says that ctrl+shift+t is the right command, but i still cant use it WHY oh WHY?? if i could get some help figuring this out it would be so awesome, cause i love Firefox, been using it almost daily for the last 10 or so years and i don't intend to switch soon.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode.] This is a temporary diagnostic session and you can exit anytime and start Firefox normally again. This session disables all the '''Extensions''', themes ('''Appearance''') and '''Plugins''' in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''.
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • Terminal does something strange when I use the 'say' command

    Hello,
    I use terminal frequently and have just nocticed something odd. When ever I use the 'say' command it said this:
               -                 -iMac:~                  $ say hello
    objc[1281]: Object 0x7ffcc2b1ee60 of class NSRunningApplication autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
    It doesn't really bother me, but I just want to make sure it is nothing serious
    - Thanks

    Could you describe this in more detail: did Firefox prevoiusly split the image over two pages and now it no longer does that?
    Or is the problem that there are two images, and if they do not both fit on the first page, Firefox is not printing the second page?
    Some page layouts may not print well when split across pages; there are some longstanding Firefox bugs. If this just started recently, those might not be relevant...
    Could you give an example URL of a page that has this problem, and indicate where the cutover is between scale percentages that work and those that no longer work?

  • Error when importing Sample OBIEE Files using the IMPDP command

    I'm trying to follow the lengthy directions to create the Sample App, and I'm on page 7 of this installation guide:
    http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf]description
    I've successfully completed the first 3 bullets on the page and I'm at the step of using the 'impdp' command to import data from the dmp file. The customized command I'm using is as follows:
    impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
    (Note that I'm using my actual password in place of 'password')
    Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
    Why is this not working? I've checked the syntax very carefully.
    Thanks, John

    Whoops I was running this from the SQL Prompt and not the Dos Prompt... Never mind.

Maybe you are looking for

  • JSF output truncated when integrating with OpenCms

    Hi all! I'm quite new to JSF and am trying to integrate it with OpenCms, a JSP based content management system. In OpenCms all files reside in a virtual filesystem (VFS) and are accessed through the opencms-servlet which is mapped to "/opencms/*". Wh

  • How can I embed album artwork into files in bulk?

    I am using iTunes 11.1 and have imported a bunch of CDs.  The artwork is associated the album in iTunes, but I would like to embed the artwork ino each song file.  I know how to do it one album at a time, but I am wondering if there is a way to have

  • Cant access shared music on iPad

    I have home sharing turned on, on my ipad, Mac and apple TV, i can access music via aple TV using the remote app on my ipad, when i go into music on the ipad, i have the shared music icon on the bottom left of my screen, when i click on the icon i ca

  • Back up error after updating ipod

    I updated my iPod Touch to the new iOS4 and it made a back up of my iPod. When i went to restored my iPod i restored it with my backup yet before i updated my files i had 2100 songs but when i updated it all my songs were removed and weren't put back

  • Transformation of Objects from XI 3.0 to PI 7.0

    Hi,     I had Developed Objects in XI 3.0...     Is it Possible to Transform my Objects from XI 3.0 to PI 7.0     If Possible, Let me Know, my Developed Objects will run smoothly in PI 7.0    With any additional Configuration. otherwise tell me Addit