Script Required

Hi Dear All,
I have over 300+ dumps present in my system in .GZ format. I have to extract each one and have to import it. I just want to have a script that unzip those dumps. If any one can also help me to guide how to design script for import.
Aqeel Nawaz

Sadly you provide insufficient information, no platform is being present.
Sadly this is a forum of volunteers, and we are not here to do your work for free.
If you can't do your work, you need to hire someone who can.
Sorry to say this, but this is the second time you dump this in this forum, ignoring Forums Etiquette.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Import Format script required to update multiple fields

    Further to my previous post yesterday (Import Format script required to work across multiple fields I now need my import script to update multiple (two) fields at the same time, based on criteria set across multiple fields. So far, I can use DW.Utilities.fParseString to assess the values across multiple fields, but I now need to update not only the field in question, but also an additional field at the same time. For example:
    Function TBService(strField, strRecord)
    ' How do I update a second field at the same time?
    Dim strField2 As String
    If Left(strField, 1) = "S" Then
    If DW.Utilities.fParseString (strRecord, 3, 8, ",") = "B1110" Then
    strField2 = "N101"
    Else
    strField2 = "Network N/A"
    End If
    TBService = strField
    Else
    TBService = "Service N/A"
    End If
    End Function
    Is this even possible? Should I be looking at creating an event script which would work post-import? Or can this be done right here in the import script?

    All the logic you require can be encapsulated in the import script for the second field. You don't need to reference the second field in the first import script.
    Edited by: SH on May 2, 2012 5:39 PM

  • A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
    If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
    www.northrim.com<br>
    www.northrimbankonline.com
    You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
    (''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'')

  • Silent Installation Script Require

    Hi,
    Scripts require for silent installation of oracle 11g on Windows XP -32bit.
    Oracle :-- 11gR2
    OS :- Windows XP
    Thanx in advance.
    Regards,
    Praful K

    Hi,
    see the description in the installation manual: [url http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/advance.htm]Silent install. You have to build your own script because the environment can be special.
    Herald ten Dam
    http://htendam.wordpress.com

  • Service relocation automatic script required in oracle 11gr2 in perl or she

    Hi Everyone
    I require script to relocate service automatically in oracle 11gr2 to the prefered node if nodes goes down
    it can be either shell script or perl script?
    thanks
    Nitin

    Hi,
    1.) No if you define a service with TAF, then the TAF information will be provided to the client, without having to specify it again in the TNSNAMES.ora (neither client nor server).
    However it does not hurt, if you have specified it additionally (it just makes it more difficult if you want to change something, because the client side does not get updated).
    See this whitepaper for more information:
    http://www.oracle.com/technetwork/database/clustering/overview/awm11gr2-130711.pdf
    2.) However it seems you have forgotten to specify something with the service (you seem to be missing -m):
    srvctl add service -h
    Adds a service configuration to the Oracle Clusterware.
    -P {NONE | BASIC | PRECONNECT} TAF policy specification
    -e <Failover type> Failover type (NONE, SESSION, or SELECT)
    -m <Failover method> Failover method (NONE or BASIC)
    -w <integer> Failover delay
    -z <integer> Failover retries
    Regards
    Sebastian

  • Export multiple SSIS Packages- Script Required(SQL Server 2008R2 onwards)

    Team,
    I have the below requirement:
    Script to export multiple packages(Say 100) and take a backup on filesystem.
    Script to Import multiple packages (100) at a time in batch.
    This should be compatible with SQL Server 2005, 2008R2 and 2012. Please help me with this.
    Regards,
    Sharath

    Thanks Much Arthur, I am able to export the packages. However for Import should I use the below?
    Copy-isitemfiletosql
    -path
    "C:Program FilesMicrosoft SQL Server100DTSPackages*"
    -destination
    "msdbsqlpsx"
    -destinationServer
    "$env:computername"
    -connectionInfo
    @{SSISCONFIG=".SQLEXPRESS"}
    To import, I'd use DTUtil http://msdn.microsoft.com/en-us/library/ms162820.aspx it is just much easier to iterate over the package files off the file system.
    Arthur
    MyBlog
    Twitter

  • Script required for styling

    Hi All,
    I am currently type-setting a dictionary and need to character style the keyword used in the example which follows the definition. of the entry. Following is an example of such:
    bukkett (buk-kett) n.m.
    pl.s. bukketti
    Ħafna fjuri marbutin flimkien b’xi żigarella. • F’Jum l-Omm Toni xtara bukkett fjuri lil ommu.
    Line 1: Paragraph style: Headwords using a nested style to give a character style (Headword) to the first word
    Line 2: Paragraph style: terms
    Line 3: Definition followed by example, seperated by a space, bullet and non-breaking space. Paragraph style: Text entry with a grep style styling the example with a character style (keyowrd in example).
    The above is all done.
    I need a script to find in the example the preceeding entry styled as Headword (in this case bukkett). I am very poor in Javascript and VBscript.
    I hope I was clear enough. If required I can make available for download a sample of the document including the current styles I'm using.
    Thank in advance
    Stephen

    Hi,
    was grumbling for a clever solution, but didn't find one ;-)
    No errorhandling applied ...
    var myDoc = app.activeDocument;
    var allStories =  myDoc.stories;
    s = allStories.length;
    for(var i = 0; i < s;i ++){
    currStory =     allStories[i];
    var storyParagraphs = currStory.paragraphs;
    p = storyParagraphs.length;
    for(var j = 0; j < p;j++){
    var currPara = storyParagraphs[j];
    var paraName = currPara.appliedParagraphStyle.name
    switch(paraName){
    case  'Headwords'  :
    app.findTextPreferences = NothingEnum.nothing;  
    app.findTextPreferences.appliedCharacterStyle = 'Headword';  
    var Res = currPara.findText();
    var resCont = Res[0].texts[0].contents; break;
    case 'Text entry' :
    app.findTextPreferences = NothingEnum.nothing;  
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences.findWhat = resCont;
    app.changeTextPreferences.appliedCharacterStyle = 'keyword in example';
    currPara.changeText(); break;
    default : break;
    app.findTextPreferences = NothingEnum.nothing;  
    app.changeTextPreferences = NothingEnum.nothing;
    Hans-Gerd Claßen

  • Proactive monitoring scripts required

    If possible,can you also share with me the scripts for pro active monitoring of the databases i.e
    script to check the total free space of the databases
    script to check the alert log file
    script to see and ping me a message if the tablespace is less etc
    Any scripts for both the unix and windows is required.

    hi,
    Are you monitoring the DB with OEM? All you have asked for is in OEM.
    rgds
    alan

  • Shell script required.,

    whether any body having a shell script, for backing  up of  a database.?

    Personally, I find the dbconsole version real nice to use, I can go back and look at the logs.  With some modifications to the default script.  I keep a copy in my database text file change tracking log, for the periodic dbconsole self-immolations.  I have it syncronized with a cron for moving backups offsite.
    The very act of asking for such scripts begs the question, what is so special about your site that such a thing is required?  There are reasons, but they are somewhat exceptional.  You might also say things like what version, what exact OS, what volume of data, what your hardware is, do you have standby, and so on.

  • Doubt in script requirement

    Hi...
    I haven't developed any objects in scripts but i got some requirement in scripts.Please help me in understanding the  requirement...
    The following is my requirement.....
    Develop two programs that will call a grouping of shipment and delivery outputs and print them.
    This program will be attached to an output type named ZOUT.  This output type will call t-code vt70 if on the shipment header or vl71 if on the delivery header.
    Call appropriate t-code and print the following outputs.
    Thanks in Advance.
    Balaji

    Hi,
    Could any one please help me in understanding the requirement.
    Thanks,
    Balaji

  • Import Format script required to work across multiple fields

    I am currently constructing an Import Format, and using datapump import scripts on several of the fields to implement specific logic based on the values present. For example:
    Function TBNetwork(strField, strRecord)
    If Left(strField, 1) = "N" Then
    TBNetwork = strField
    Else
    TBNetwork = "Network N/A"
    End If
    End Function
    However, I need this to also evaluate the values across other fields too, but the default two inputs for the function are strField and strRecord.
    How can I achieve this? Can I declare new variables and define as follows?
    Dim strCustomer = varValues(23)
    Or do I need to look at implementing a different type of script? Any suggestions would be greatly appreciated!

    strRecord represents the entire data line from your source file that is currently being processed. You can parse this to get any of the values from your data line to use/evaluate in your script. There is an accelarator script DW.Utilities.fParseString which will do the string parsing for you. As you probably know strField only returns the field from the data file that you have specified in your import format for the associated dimension.

  • HR schema script required

    HI All
    I am working on practice reports and following the oracle 10g toturail. There are sales, employee, departments, order, product etc tables. Kindly send me its schema if any one have.
    It would be great help.

    The HR schema scripts are included on the 10g/11g install CD/Download and are included by default in the installation, however, the account is locked by default as well. If you have installed 10g using the default installation all you should need to do is unlock the account or simply use the schema prefix in your queries. If the HR schema is not there, you can extract the scripts here: Oracle 9i Sample Schemas.
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.

  • ITunes art script required

    Hi,
    In case anyone has something that does this, or knows of a script that may work, this is what I'm after:
    Get artwork of selected tracks, assess size of artwork in kb not pixels, if over 250kb then compress image, then re-embed to track as JPEG. That's it.
    Anyone?

    iLee wrote:
    So, If I understand correctly, and forgive my ignorance, would it be possible to compress the image and save it as a PNG?
    This is possible, if the jpeg is compressed enough to get a size between *15 Kb* and *18 Kb*.
    Convert a JPEG of 17 Kb to PNG give approximately a file of *250 Kb*
    If the % of compression down to 0, the script will reduce the image (width and height).
    Here the script
    property temp_file : (path to temporary items as string) & "artworkof_this_tracktemp.jpg"
    tell application "iTunes"
    repeat with t_track in (get selection)
    tell t_track to if exists artworks then try
    set t_png to my make_png(raw data of artwork 1)
    if t_png is not "" then set raw data of artwork 1 to t_png
    end try
    end repeat
    end tell
    say "Done"
    on makepng(artdata)
    try
    set open_file to (open for access temp_file with write permission)
    set eof open_file to 0 -- empty the file
    write art_data to open_file -- write artwork in the original format
    set x to get eof open_file -- get number of bytes
    close access open_file
    if x ≤ 250000 then return ""
    on error
    close access temp_file
    return ""
    end try
    -- this file > 250 kb
    set n to 51
    set tFile to quoted form of POSIX path of temp_file
    set temp_file2 to temp_file & ".png"
    set new_file to quoted form of POSIX path of temp_file2
    set y to x
    repeat while n > 0 -- convert file to JPEG, compress between 15 kb and 18 Kb
    do shell script "/usr/bin/sips -s format jpeg -s formatOptions " & n & " " & tFile & " --out " & new_file
    set x to get eof file temp_file2
    if x < 18000 then
    do shell script "/usr/bin/sips -s format png " & tFile & " --out " & new_file -- convert jpeg to png
    set y to get eof file temp_file2
    if y ≤ 250000 then exit repeat -- the size is ok
    end if
    set n to n - 10
    end repeat
    if x ≥ 18000 or y > 250000 then -- the jpeg compression < 1
    if x >= 18000 then do shell script "/usr/bin/sips -s format png " & tFile & " --out " & new_file -- convert jpeg to png
    set {t_width, t_height} to paragraphs of (do shell script "sips -g pixelWidth -g pixelHeight " & new_file & "| /usr/bin/awk '/pixel/ {print $NF}'")
    set The_size to t_height as integer
    if The_size < (t_width as integer) then set The_size to t_width as integer
    repeat while y > 250000
    if y > 350000 then
    set var1 to 1.2
    else if y > 300000 then
    set var1 to 1.06
    else
    set var1 to 1.03
    end if
    set The_size to The_size div var1 -- modify the Width and Height
    do shell script "/usr/bin/sips -Z " & The_size & " " & new_file -- resize the PNG
    set y to get eof file temp_file2
    end repeat
    end if
    return read file temp_file2 as «class PNG »
    end make_png

  • Simple Apple Script Required

    Hey
    Im looking for a simple AppleScript i can run on client workstations , The Script ideally needs to do the following ..
    - Find any files in the User's Home folder with a Creation date older than 3 years ago.
    - Display the files and allow user to delete.
    Im sure this is quite simple for someone who knows what there doing with AppleScript ! , anyone have any simple scripts they could suggest ?
    Cheers

    Well, getting a list of files is one thing (there are several shell utilities), getting them in a Finder window so you can do various things with them is another. There isn't much AppleScript support for the Finder's Find…, and saved searches don't appear to be portable. GUI scripting is more akin to voodoo, but I figured I would give it a shot to see if I could get close.
    The following script pastes the appropriate search term in the Search item in a Finder window's toolbar. Getting the search to start in a specific place is a bit goofy, but if you have navigated to the desired folder, running the script should start the search from there:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- enter a search term in the Finder's search toolbar item
    -- set the search date
    tell ((current date) as «class isot» as string)
    (get text 1 thru 4) - 3 -- the current year - 3
    set SearchDate to text 6 thru 7 & "/" & text 9 thru 10 & "/" & result
    end tell
    -- make sure there is a Finder window and the toolbar is showing
    tell application "Finder"
    activate
    if (get windows) is {} then set target of (make new Finder window) to path to home folder
    if not toolbar visible of front window then set toolbar visible of front window to true
    end tell
    -- enter the search term into the search text field, if present
    tell application "System Events"
    if UI elements enabled then
    get value of attribute "AXRoleDescription" of text field 1 of group 1 of tool bar of front window of application process "Finder"
    if (result as text) is "search text field" then -- toolbar search item exists
    set value of text field 1 of group 1 of tool bar of front window of application process "Finder" to "created:<=" & SearchDate
    else -- oops
    activate
    display dialog "This script needs to use the Search item on the toolbar - please customize the Finder toolbar to include Search." with title "Find by creation date" buttons {"OK"} default button 1
    end if
    else
    tell application "System Preferences"
    activate
    set current pane to pane "com.apple.preference.universalaccess"
    display dialog "This script needs UI element scripting enabled. Check \"Enable access for assistive devices\" and try again." with title "Find by creation date" buttons {"OK"} default button 1
    end tell
    end if
    end tell
    </pre>
    HTH

  • Rman tablespace backup script required

    Dear Guru,
    Thanks a lot, it start working...as the policy has set to 7 days retention period...
    i have another issue if you can help me, i have whole apps running on only two tablespace docv,docvindex
    rest by using this script i have to take backup every day entire database that occupied unncessary space, can you help me to revised the script..thank you in advanced sir
    connect target sys/sys@ORCL;
    run
    allocate channel h1 type disk format="E:\bkup_orcl\%t_%u";
    allocate channel h2 type disk format="E:\bkup_orcl\%t_%u";
    backup database tag=dailybak;
    backup current controlfile tag=ctlbak;
    sql 'alter system archive log current';
    backup archivelog all ;
    release channel h1;
    release channel h2;
    regards,
    salim shahzad

    Kuljeet Pal Singh wrote:
    cat db_rman.sh
    <<all oracle environment variable>>
    CUR_DATE=`date +%d%m%y`
    export CUR_DATE
    DT=`date +%d%m%y_%H-%M`
    export DT
    LOG_DEST=/u02/backup/TAPE_Backup_Log
    export LOG_DEST
    rman target / catalog db_cat/password@rmanprod log=$LOG_DEST/RMAN_$DT.log <<EOF
    run {
    backup archivelog all to destination '/oracle/oracle/.Arch_bkp/';
    delete archivelog until 'sysdate-10';
    }I am in nocatalogue database.
    exit
    EOF

Maybe you are looking for