FLASHBACK_SCN option within datapump

I am trying to use the datapump option FLASHBACK_SCN by setting a variable within a script as the value from "SELECT dbms_flashback.get_system_change_number FROM dual;" in the following way.
sqlplus '/ as sysdba' <<EOF
set head off
spool flashback_scn.output
SELECT dbms_flashback.get_system_change_number FROM dual;
spool off
exit;
EOF
sed '/^$/d' flashback_scn.output |\
sed -e "s/[ <tab>]*//g" > flashback_scn.list
export FLASHBACK_SCN=`cat flashback_scn.list`
The variable FLASHBACK_SCN is then passed to the option and the datapump export performed. This has worked fine on a test database but the SCN is a lot smaller number than in production. I am now trying to run this in production but the value that comes back from "SELECT dbms_flashback.get_system_change_number FROM dual;" is as follows.
GET_SYSTEM_CHANGE_NUMBER
9.2196E+12
And datapump does not see this as a valid SCN nor does a select statement using the option of "AS OF SCN", I just get the error "specified number is not a valid change number.
Can anyone suggest a way to get the value as a proper value and not a "to the power of what ever" value.
Kind regards.
Graeme.

Hi Graeme,
This is only a display think of sqlplus.
Try this:
sqlplus '/ as sysdba' <<EOF
set head off
col get_system_change_number format 9999999999999999999999
spool flashback_scn.output
SELECT dbms_flashback.get_system_change_number FROM dual;
spool off
exit;
EOFthe format change the display to optional digits (in this case 22 digits, you can set it to whatever you like).
By the way, I take the date and use FLASHBACK_TIME instead of FLASHBACK_SCN, but it really doesn't matter.
HTH
Liron Amitzi
Senior DBA consultant
http://www.dbsnaps.com

Similar Messages

  • New to Blackberry-can not find the Add Contact option within address book

    I am sure the answer to this is going to be so obvious, but asking just the same. I go into the address book, push the ball in and there are my list of contacts. I want to add new contacts, but have no place I can see to add? Top of the screen as #BAL, the MIN, PMT then my contacts beginning with A that Verizon switched into my new phone from the old. If I am on one of these names and click on the name, I am given options within that particular contact. I just would like to Add a new contact. Thanks much

    From the address book push the menu key. This is the one to the left of the trackball. Select New Address from the list of available options.

  • No EPMA options within Workspace ?

    Hello,
    I have successfully installed and configured EPMA 11.1.1.1 and all services are up and running. No errors to report.
    After logging into Workspace I do not see any EPMA options when selecting Navigate --> Administer --> ???
    Maybe I am missing something here. Any help would be appreciated!
    Thanks
    Tony

    Ok. I re-configured web app server now I see the EPMA options within Workspace. However when I select any of the EMPA options (i.e. Dimension Library) I get the following error message:
    No connection could be made becuase the target machine actively refused it 127.0.0.1:5251
    Error Code com.hyperion.awb.web.common.DimensionServiceException

  • Is there a way to include Scaling Options within an AME preset?

    I'm using AME to export stills from the first frame of a large library of videos. I've got a preset setup to export a thumbnail image so I can import the footage, apply the preset, and press render. Since the thumbnail image is 80x80 pixels, AME is scaling the video down to fit the image horizontally and creating letter boxing on the top and bottom. I've found that I can apply the preset, and then click the preset name in the queue to access additional options. Within these options is "Scaling Options" and if I change the setting from "Scale to Fit" to "Scale to Fill" I end up with my desired results.
    I realize that by doing this, the video fills the full 80x80 image, and some portions are cropped off on the left and right side. But I'm okay with the cropping, I really just need the video to fill the full 80x80 image. Here's an animated GIF demonstrating the process (sorry if it takes a bit to load, it's 2.5MB).
    What I'm looking for is a way to integrate the "Scale to Fill" option directly into the preset. So that I can create a watch folder using the preset and anytime I drop a video file into the watch folder, AME will automatically generate an 80x80px thumbnail that has the video fill the full image frame. Having to manually adjust this setting each and every time is still faster than manually creating the preview image, but prevents me from having it be automated. Anyone have any ideas?

    If you set up the preset (including the scaling) in the Export Settings dialog then save the preset you should be good to go. The scaling parameter gets saved in the preset. Is that not the behavior you are seeing?

  • Multiple Filtering options within ALV Output.

    Hi All,
    Being a Functional Guy,I would like to clarify few questions in ALV functionality. In one of our requirement we need to create a ALV report.
    Step1 : Enter values in selection criteria.
    Step2: Execute ALV report.
    Step3: Within Output  I should be able to filters for a particular column. For example: We have a column as Country.In the Column can I select or enter India,US,UK and output should only contain only US,UK,India.
    Step4: Within output We have columns Country and State , can we enter values like Texas in State, US in country in the filter will the output will have only values with Texas & US.
    Can you guys advice if Step 3 & step 4 is possible in ALV.
    Thanks,
    Kitcha

    Hi,
    Yes, you can hae the filtering options for all the columns of the ALV..if you can see there is a stadnard filter functionality available
    for ALV that comes by default..
    When you show the output in alv these default filter is already avaibale..first try to test it out..
    Just go through the ALV documetns..filter is already there..for your output you will get the result..
    Regards,
    Lekha.
    Edited by: Lekha on Dec 10, 2009 10:28 AM

  • 'fromuser' to 'touser' option in datapump

    Dear Friends ,
    I m using oracle 10g in AIX platform . I take a full export (expdp)using datapump . Now I want to import it in another database in my test server . In test database I just import two user (Like user1,user2 ) from the export dump , i.e., I just want to use 'fromuser' , 'touser' option .
    How can I do it in datapump ?
    plz help ... ..

    The EXCLUDE options to filter expdp or impdp to filter specfic objects being exported or imported.
    If you're exporting a TABLE and you dont want export indexes,triggers,statistics,you can use
    Tables=A
    EXCLUDE=INDEX,TRIGGER,STATISTICS.
    it works the same way for Schema. If you're exporting a full database export and if you EXCLUDE=SCHEMA:"='SCOTT'", The SChema SCOTT will not be exported.
    If I want to import 4 users (user1,user2,user3,user4) from a full 'import dump" >using 'impdp' , then how can I use "remap_schema" ?You haven't specified in which schema the data to be imported.
    REMAP_SCHEMA=scott:newscott - load database objects from a source schema (SCOTT) to a target schema (NEWSCOTT).
    Import DataPump Parameter REMAP_SCHEMA - How to Move Database Objects from one Schema to Another - Note:260225.1
    HTH
    Anantha

  • Removing Forward menu option within MailFilterDialog in Convergence 1u3

    I followed the directions at the bottom of the following page:
    http://wikis.sun.com/display/CommSuite/Removing+Change+Password+and+Vacation+Message+Options
    and successfully removed the Forward item in the Options menu, however we are wanting to disable all forwarding from within Convergence, which would also include the "Forward Message To" menu item in the MailFilterDialog widget. I know I need to create the file <app_server_base>/domains/domain1/docroot/iwc_static/c11n/allDomain/js/widget/MailFilterDialog.js and put the following in <app_server_base>/domains/domain1/docroot/iwc_static/c11n/allDomain/js/customize.js:
    // Remove the Forward Message to menu item
    dojo.require("c11n.allDomain.js.widget.MailFilterDialog");but I am unsure of the code that goes into the MailFilterDialog.js file.
    Thanks,
    Jim

    jbuitt wrote:
    and successfully removed the Forward item in the Options menu, however we are wanting to disable all forwarding from within Convergence, which would also include the "Forward Message To" menu item in the MailFilterDialog widget.I seriously question the value of disabling the manual forwarding of messages... that being said you can hide the forward button by using the following customization:
    Add the following to <app_server_base>/domains/domain1/docroot/iwc_static/c11n/allDomain/js/customize.js
    // Hide forward button in folder view
    dojo.require("c11n.allDomain.js.widget.MailOpenFolder");
    // Hide forward button in message view
    dojo.require("c11n.allDomain.js.widget.MailOpenMessage");Create the following two files:
    <app_server_base>/domains/domain1/docroot/iwc_static/c11n/allDomain/js/widget/MailOpenMessage.js
    dojo.provide("c11n.allDomain.js.widget.MailOpenMessage");
    dojo.require("iwc.widget.MailOpenMessage");
    dojo.require("dijit.form._FormWidget");
    dojo.declare("iwc.widget.MailOpenMessage", iwc.widget.MailOpenMessage,
                    buildRendering: function () {
                            this.inherited(arguments);
                            this["forwardButton"].domNode.style.display = "none";
                            console.debug("c11n: Hide Forward Button in Message View");
                    last: ""
    );<app_server_base>/domains/domain1/docroot/iwc_static/c11n/allDomain/js/widget/MailOpenFolder.js
    dojo.provide("c11n.allDomain.js.widget.MailOpenFolder");
    dojo.require("iwc.widget.MailOpenFolder");
    dojo.require("dijit.form._FormWidget");
    dojo.declare("iwc.widget.MailOpenFolder", iwc.widget.MailOpenFolder,
                    buildRendering: function () {
                            this.inherited(arguments);
                            this["forwardButton"].domNode.style.display = "none";
                            console.debug("c11n: Hide Forward Button in Folder View");
                    last: ""
    );Regards,
    Shane.

  • Compression options for datapump

    Hi
    We are using 10.2 version of the db.
    Using datapump
    I have rad docs for datapump and as far as compression goes, can only see COMPRESSION=METADATA_ONLY.
    We need to export something like a 200gb schema and we have no space for it.
    Is this the only option for compression? (yes, I have looked into other mount points)
    Looks like there isnt any. "Stay tuned for a data compression solution in a future release ".
    Brilliant.
    Thanks.
    DA
    Edited by: Dan A on Mar 28, 2009 12:18 PM

    Good point,and one I will look into.
    In the end I eventually got the dump - with 99% space used! I then scp-ed it to another box and gzipped it from there.
    I am going to look into setting those environment variables as this took me two hours yesterday and yesterday was a Saturday - know what I mean?
    DA

  • Selected option within sync music tab not working

    Whilst syncing my iPhone4 and within the sync music tab, I use 'selected playlists, artists, albums, and genres'. The problem is that the info where you select within the categories is not up to date with my actually library and checking or unchecking does nothing to what is synced. I have ‘sync only checked songs’ selected in summary and have completed a full reinstall of iTunes.

    Hello AriW1,
    And welcome to Apple Discussions!
    Yes, as of iTunes 9 the option has been removed. I would submit feedback to Apple on this. I have already.
    You can probably do it under iTunes or the iPod classic
    http://www.apple.com/feedback/itunesapp.html
    http://www.apple.com/feedback/ipod.html
    B-rock

  • Problem with the Photomail option within " How would you like to share ?"

    I have a PC with Windows 7 and Elements 10 installed. For the past couple of days, when I attempt to share photos using the Photomail option under "How would you like to share ?" column , after selecting the recipient, I get an error message dialogue box that says : "Elements 10 Organizer has stopped working - a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available". Then the Organizer stays closed down until I reopen it. However, I am able to share photos using the "Email Attachment" option.
    What could be wrong with the "Photomail" option ?
    Thanks

    Hi,
    I have seen this sort of failure caused by a permissions problem.
    Try this:
    Close elements
    Create a shortcut on your desktop which goes direct to the organizer
    Right click on that shortcut and select "Run as Administrator" (even if you are an administrator)
    Now try your Photomail again
    If it does work, you only need to do this once, it seems to correct itself after that.
    Good luck
    Brian

  • Adding social media share options within a Indesign 5.5 doc

    Hi, I'm wanting to share articles within a document via social media sites like the Share this button on Wordpress. Is it possible, has anyone done it before? cheers

    You can link to individual pages in the pdf, just not individual articles/sections. This would help you add a link to a specific page on a social media site and share that link, rather than doing it through the pdf itself.
    See: http://kb2.adobe.com/cps/317/317300.html

  • HT1589 Why is there no option within iTunes to change libraries?

    It would be such an amazing simple feature to have! 
    It's frustrating to have to close iTunes and re-open it remembering to hold the Option button - so much to do something that could so easily be menu-driven!

    The Mozilla developers usually leave such advanced settings to extensions developers.
    See also:
    *http://weblogs.mozillazine.org/ben/archives/009620.html - Battling Firefox Bloat (Ben Goodger)

  • No tv show option within itunes store

    When I open itunes store, there is the option to watch entertain ment: Movies, Music, Podcasts.
    However, there is NO option at all to open TV SHOWS of any kind.
    Therefore, I cannot download any new tv shows.

    You probably only downloaded the hd version. The iPod classic only plays sd. Go to your purchases in the iTunes Store and download the ad version. It should work fine.

  • I cannot update iTunes. In instructions for updating it says to go to help and then click check for updates. Guess what! No help options within iTunes. I need to be able to syn my iPod touch 5 but I cant without the newest iTunes. I am sick of this crap.

    I am EXTREMELY tired of having to deal with this. iTunes has been an issue since I got it and unfortunately whenever I want to update my computer's iTunes account it demands I download a new format (which has continually gotten worse and WORSE over time). I wish things would not be updated so frequently. As soon as I have the new format working decently (ONLY decently, I have never had an apple product that has worked as it is stated it should) another update comes along. And THIS time, I cannot download it. First problem: I open iTunes. It says I need to update for my ipod to work. I think "great. I click ok and it will do it automatically!" Oh boy was I wrong. I don't do anything. I search up how to update things. It says ON THIS SITE: Go to help in the itunes store. THERE. IS. NO. CLEARLY. VISIBLE. HELP. SECTION. I have looked for FAR to long for this to be worth my time.

    Okay - let's cut to the chase...
    If the Menu Bar (File, Edit... Help) shown in my screenshot below is not visible, use CTRL+B to display it. Then click on Help/Check for Updates. If one is available, you will be able to select it at this time.
    Note the item at the bottom of the list; About iTunes. Selecting that will show you which version of iTunes you are using.
    An alternative method to display the Menu Bar is click on the box in the top left of your iTunes window...

  • RoboHelp options within FrameMaker

    This question was posted in response to the following article: http://help.adobe.com/en_US/techcomsuite/tcs/using/WS1b49059a33f77726-31aee1b1342288940d-7 fc0.html

    Drop-down/expanding text:
    In my testing, this works ONLY if there is exactly one return (one press of the Enter key) between the "text caption" and the drop-down or expanding text in the Framemaker file. They cannot be on the same line, and there cannot be anything except a return between them. It will be useful to future users if the help page can make this clear.

Maybe you are looking for

  • Unknown error compiling movie - tiny sections export fine - no one bad clip

    This week I've been dealing with a huge pain exporting a 6 minute video on my retina macbook pro. The sequence is 720p 24fps (23.976) and contains a mix of 720p & 1080p (scaled) AVCHD footage, a couple of 1080p GoPro shots, some 1080p time-lapse clip

  • Editable Title Bar in a JFrame?

    I have a standalone application that launches a JFrame. Is there some way to allow the user to set the title of the JFrame?

  • How to identify the project in CMOD used for a particular data source

    Hi   I had a Business Content Data source which is enhanced with ZZ fields and user exit is written in CMOD.   How can i find in which project used to write the code for that particular data source..... When i check CMOD i can find nearly 10 to 20 di

  • Can't Extend subscription because not available in...

    Hi I travel as part of my job.  I have been all over the world and use skype as a basis for keeping in touch with both work and family. I am currently in Asia, backpacking on a holiday.  I have noticed that my subscription is expiring, however, I had

  • Character depiction is collapsed.

    Character depiction is collapsed. (Occurrence yahoo auction in (Japan) Products List) ・this is confirmed in ubuntu 12.04 ubuntu 14.04 . ・Yahoo auction (Japan) Products list display abnormal. ・character depiction is collapsed. (Occurrence yahoo auctio