Automatic db creation and import

Hi Forum,
sorry for the maybe trivial question - but I could find a reliable advise via the web.
Quite new to oracle at all I run 10g on Debian Sarge without any problems. As I'm still testing and playing around this is quite fine even Debian is not supported.
I use Oracle togeter with a java app.
Now I would like to setup some automatic tasks and do not now how:
I have an example database storing a list of names. First I would like to know how to create a new database (SID) using one of the stored names as SID. Second I have a dump file that I would like to automatically stored in that database. Third I would like to have this repated at a predifined time (to get a cleam install).
I thought about using shell/bash scripts as well as designing a java class to do this.
So what would the community advise? Java? Scripts?
And - if I know how to do this... how far is my way to backup a certain db and delete it from my system after that? Is it difficult to create it again and restore the data saved before?
Hmmm... questions... but I'm keen on learning to use Oracle
thanx

Depends what you want the jpegs for. If it's only to be able to view them on the laptop you don't need them at all. Just let LR create 1:1 previews and set it to never delete them. Then synchronize the previews.
That said it sounds like you might be happier with external hard discs.
John

Similar Messages

  • Automatic PO creation from Imported Approved Requisition

    Hi,
    Is there any setup to allow automatic PO creation from Imported Approved Requisition.
    1. Run Requisition Import to import approved Requisition with no workflow fired.
    2. Can we kick off automatic PO creation workflow without kicking off Requisition approval workflow?
    Any suggestion will be helpful.

    Hi,
    pl.review the MOS doc.
    How to Create and Approve a Standard PO Automatically From an Approved Requisition Sourced to Standard Quotations [ID 308470.1]
    HTH
    Sanjay

  • Automatic TO Creation and Confirm for the 321 Mvt type

    Hello Experts,
    Like to know the customisation invovlved for automatic TO creation and confirmation for the 321 movement type in which QM is activated.
    I have already activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe
    2.TO item to be confirmed immediately
    3.Propose confirmation
    Table T333 -AUTTA
              T333-SQUIT &
              T333-VQUIT is activated.
    Please let me know any other settings to be performed
    Regards
    Krishna

    Hello Experts,
    I am trying to create the Automatic TO and TO confirmation for the mvt type 321.
    I made the below settings
    I have activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe   -"A"
    2.TO item to be confirmed immediately  - tick mark
    3.Propose confirmation   - tick mark
    Table T333 -AUTTA
    T333-SQUIT &
    T333-VQUIT is activated.
    I have activated in OMKX as below
    Table T321-TBFKZ Immediate TO Creation with "A"
    T321-TAFKZ TR creation with "X"
    After doing the settings i am not able to see the Posting change number in the Material document created for the mvt type 321.
    Please let me know how to create the Posting chnage notice for the material document and how to convert the Posting change notice to automatic TO and confirmation.
    Thanks & Regards
    Krishna
    Edited by: Hariharan krishna on May 25, 2011 8:01 AM

  • Automate DBAdapter creation and testing using ANT

    I am using SOA suite 10.1.3.1.
    I would like to automate creation and testing of DBAdapter and I know that we have some ANT task to create and test connection pool and datasource like
    createJDBCConnectionPool
    createManagedDataSource
    testConnectionPool
    testDataSource
    etc...
    but I fail to found ANT task for DBAdapter.
    It would be grateful if someone can tell if it exists or not.

    sure, it's my pleasure.
    Before running the code, please read the following document first. They talked about how to use JMX to control the AS. Basically, you will need the admin client library to do the job as Oracle don't use JRMP, so you need the library to provide the underlaying protocol(i.e. ORMI).
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDGIAEI
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28952/mbeans.htm#CIHCCAFJ
    here comes the sample code
    String url = "service:jmx:ormi:///opmn://<host>:<opmn reuqest port>/<OC4J instance for BPEL>";
    String login = "<username>";
    String pass = "<password>";
    String mbeanName = "oc4j:j2eeType=JCAConnectionDefinition,name=javax.resource.cci.ConnectionFactory,ResourceAdapter=Database Adapter,ResourceAdapterModule=DbAdapter,J2EEApplication=default,J2EEServer=standalone";
    String opName = "addConnectionFactory";
    // connection setup
    JMXServiceURL serviceURL = new JMXServiceURL(url);
    Hashtable credentials = new Hashtable();
    credentials.put("login", login);
    credentials.put("password", pass);
    Hashtable env = new Hashtable();
    env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "oracle.oc4j.admin.jmx.remote");
    env.put(JMXConnector.CREDENTIALS, credentials);
    JMXConnector jmxCon = JMXConnectorFactory.newJMXConnector(serviceURL, env);
    jmxCon.connect();
    MBeanServerConnection mbServer = jmxCon.getMBeanServerConnection();
    // prepare parameters for the invocation
    Object[] param = new Object[4];
    param[0] = "<JNDI name of the DbAdapter>";
    Map temp;
    param[1] = temp = new HashMap();
    temp.put("defaultNChar", Boolean.FALSE);
    temp.put("platformClassName", "oracle.toplink.platform.database.Oracle9Platform");
    temp.put("sequencePreallocationSize", new Integer(50));
    temp.put("usesBatchWriting", Boolean.TRUE);
    temp.put("usesNativeSequencing", Boolean.TRUE);
    temp.put("xADataSourceName", "<dataSource name>"); // assume that the dataSource is created somewhere else
    param[2] = new Integer(1); // 1 for private connection pool
    param[3] = ""; // connection pool name, not useful for private pool
    // prepare signature of the operation which we would like to invoke
    String[] signature = new String[4];
    signature[0] = "java.lang.String";
    signature[1] = "java.util.Map";
    signature[2] = "java.lang.Integer";
    signature[3] = "java.lang.String";
    ObjectName beanName = new ObjectName(mbeanName);
    mbServer.invoke(beanName, opName, param, signature);

  • File-to-file or File-to-RFC for Automatic PO creation and GR creation

    Hi,
    We are on XI 3.0 and the following has been put to me:
    We will receive a .CSV file from FTP server, into XI and then need to create Purchase Orders followed by the Goods Receipt documents in R/3 based on the incoming data.
    Further to this, the requirement is to give a log of the successfule and failed PO + GR document summary to the business.
    The programme in R/3 will compare the incoming file nmame with archived files already processed and will reject any files with duplicate names.
    I was suggesting to go with the file to RFC in R/3 whereby we can have a Z shell BAPI to include the standard BAPI for PO creation and GR creation. This Z code can then be extended to email the log to the business of which records were successfully created and which failed.
    However, I am stumped as to how can I make the file duplication comparison on R/3 as the incoming file will also be stored on R/3 archive somewhere.
    Can this be made when the BAPI is called in XI?
    I can configure alerts when the BAPI is mapped from incoming file for that interface.
    What was suggested also was to pick up the CSV file and thow it as it is in R/3 and then the Z code can go through it and create the PO and GR objects. However, then it does not make much sense to use XI as the middleware platform.
    Please advice.
    Regards,
    Arcahna

    Hi Archana,
    Take a look to this blog: 
    https://wiki.sdn.sap.com/wiki/display/XI/Different%20ways%20to%20keep%20your%20Interface%20from%20processing%20duplicate%20files
    Maybe it could help you for the duplicate files.
    Regards,
      Juan

  • Automatic directory creation and renaming when importing pictures

    Hello,
    I was wondering if what I'm trying to do is possible with iPhoto or anything in Leopard.
    When I import pictures, I want to create folders and rename the pictures based on the date. For an example, when I import pictures taken on November 10th, 2007, I want to create folder "2007", then under that folder create "11", then create "20071110", then rename the photos in "20071110_001.jpg" format.
    Is it possible?
    Thanks.

    No, actually I did all your posts all the way to the end. How can you tell? because I answered this question
    The goal.
    When importing the pictures through my Mac Mini, copy new pictures in the Samba server using the same structure, NOT in my LOCAL Mac Mini.
    in my very first reply to you. I did this when I said:
    No.
    Was there some part of that that was confusing?
    iPhoto will not do this, and, frankly, I know of nothing that will on the Mac. If you're confident with AppleScript you may be able to whip up a Folder Action to do it where you:
    1. Download the pics to a folder in the Finder. Have the attached script read the exif data, rename the files, and then create the required folders on the Samba server and copy the files over. But I have to say that I don't know if you can get a Finder Script to read exif data. I certainly could find nothing in the library. Nor is there anything in the Automator library that I can see. You might like to post on the AppleScript forum:
    http://discussions.apple.com/forum.jspa?forumID=724
    where some of the folks over there might be able to help.
    2. Then have an attached script that will automatically import the files into iPhoto. This is relatively straightforward with either Automator or Hazel.
    Regards
    TD

  • Automatic TO creation and confirmation for a Material document

    Hi Dear All,
    i am new to MM andWM.
    I have to customization for auto transfer orders and confirmations for material documents what ever created with 101 movement type in Inventory Management. I have down configuration like below.
    SPRO->Logistics Execution->Warehouse Management->Activities->Transfers-> Set Up Autom. TO Creation for TRs / Posting Change Notices
    Double click on ‘control data ‘tab
    Hear for my warehouse I given input like   Auto TO = ‘1’,
                                                                             AddId = ‘select check box’.
    And in ‘Assign control’ tab for 101 movement type I have given input like below.
    Automatic TO = ‘1’.
    TO item can be confirmed immed. = ‘tick checkbox’
    Propose Confirmation = ‘tick checkbox’.
    Foreground/Backgrnd = ‘D’.
    After creating of Material document I am executing report RLAUTA10 in SE38.When I execute this report system showing message like ‘TO processing finished: TR total:   17, TO created:    0, Errors:   17’.
    If I check header details of transfer requirements in LB03, i am not seeing ‘Tick Mark’ in Auto TO Creation field.
    Can any one tell me what the mistake i have down or if i need to do any further configuration. Please help me regarding this concern?
    Thanks in Advance..

    Dear Steve,
    Thanks a lot for giving reply with what I need to do, but I am unable to see result.
    I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
    Click on ‘Assign’ button,
    Press on ‘New entries’
    WhN = ‘900’
    Reference Movement Type = ‘101’
    Movement indicator = ‘B’
    Movement type for Whse Mgmt = ‘101’
    TR create Transfer Requirement = ‘X’
    Immed.TO Creation
    Mail confirmation for background processing = ‘01’.
    GR date = ‘2’

  • PO not created automatically after creation and approval of SC

    Hi all,
    We are using SRM7.0 Extended Classic Scenario.
    We are able to create Shopping Cart successfully.
    For items where a source of supply is not supplied, the Shopping Cart goes through the approval process and then into the sourcing Cockpit.
    But for the other Shopping Carts, PO is not getting created automatically after the approval of SC.
    Any ideas/suggestions on this issue would be highly helpful.
    Thanks,
    Priya

    Priya,
    Can you check this configuration in Sourcing  for particular PCat?
    *Automatic requirement grouping; sourcing for items without assigned*
    source of supply:
    Then run the report BBP_SC_TRANSFER_GROUPED which will  automatically group requirements together for
    the creation of a PO.
    And,  If the requirement does not have a source of supply, it appears in the work list of the sourcing application for manual assignment. Once you have assigned a source of supply, you can submit the requirement to the report.
    Let us know if it works, and should help you this one.
    Thanks,
    Rahul Mandale

  • Automatic bookmark creation and sorting

    I have to make 4 quality manuals in PDF (each around 300 pages) from loose word files. They are organized like this
    folder 1
    chapter 1.doc
         chapter 1.1.doc
         chapter 1.2.doc
         attachment 1.1.doc
    folder 2
    chapter 2.doc
         chapter 2.1.doc
         chapter 2.2.doc
         attachement 2.1.doc
         attachment 2.2.xlc
    etc...
    Converting them to a single pdf can be easily done by combine files, but the bookmarks are not correctly sorted. The bookmarks are used for easy navigation. Is there a better work around to do such an exercise?

    Hello Experts,
    I am trying to create the Automatic TO and TO confirmation for the mvt type 321.
    I made the below settings
    I have activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe   -"A"
    2.TO item to be confirmed immediately  - tick mark
    3.Propose confirmation   - tick mark
    Table T333 -AUTTA
    T333-SQUIT &
    T333-VQUIT is activated.
    I have activated in OMKX as below
    Table T321-TBFKZ Immediate TO Creation with "A"
    T321-TAFKZ TR creation with "X"
    After doing the settings i am not able to see the Posting change number in the Material document created for the mvt type 321.
    Please let me know how to create the Posting chnage notice for the material document and how to convert the Posting change notice to automatic TO and confirmation.
    Thanks & Regards
    Krishna
    Edited by: Hariharan krishna on May 25, 2011 8:01 AM

  • Automatic JPEG creation on import

    Hello
    I currently have a setup where I sync all my photos between a laptop and a desktop computer.
    Unfortunately recently I've noticed that my 160GB disk is my laptop isn't quite enough to hold all my photos as I always shoot in RAW.
    Therefore I would like a setup where Lightroom 2.0 automatically generates JPEG versions of my RAW files upon import. This way I can configure my synchronization application to ignore all the RAW files and only sync the JPEGs as I really don't need the RAW versions on the laptop.
    Is there any way of doing this - or anything similar?
    Best regards,
    Thomas René Sidor

    Depends what you want the jpegs for. If it's only to be able to view them on the laptop you don't need them at all. Just let LR create 1:1 previews and set it to never delete them. Then synchronize the previews.
    That said it sounds like you might be happier with external hard discs.
    John

  • Automatic PO creation (ME59)

    Hi,
    1) source list and purchase info records both are mandatory for automatic PO creation ? with missing data in either of one, can I proceed ME59
    2) if i have mentioned one material for two or more vendors in ME01 and ME11, which vendor will be assigned to PO
    regards

    Hi,
    Just to add make sure your material master IS TICKED for automatic PO creation and vendor record is also ticked.
    You should have a valid info record that consist of valid conditions.
    Thanks
    Silas

  • Stop Automatic creation and confirmation of Transafer Order for a doc type

    Hello All,
    There is a requirement that I need to stop Automatic creation and confirmation of Transafer Order for a particular document type.
    The issue is that sometimes the cycle goes upto creation of Invoice automatically but sometimes this does not happen. More over the user wants that the transafer order needs to be confirmed manually.
    Can u please provide the .steps involved for thie case.
    Thanks
    Chandrashekhar

    Dear Steve,
    Thanks a lot for giving reply with what I need to do, but I am unable to see result.
    I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
    Click on ‘Assign’ button,
    Press on ‘New entries’
    WhN = ‘900’
    Reference Movement Type = ‘101’
    Movement indicator = ‘B’
    Movement type for Whse Mgmt = ‘101’
    TR create Transfer Requirement = ‘X’
    Immed.TO Creation
    Mail confirmation for background processing = ‘01’.
    GR date = ‘2’

  • Automatic Creation and Confirmation of Warehouse Task in EWM 5.1

    Hello,
    We want an automatic creation and confirmation of the warehouse task in EWM 5.1 on the based of a delivery type and warehouse number.
    The scenario goes in this way... As soon as the inbound delivery is created/replicated in EWM, the creation and confimartion of warehouse request, warehouse task and warehouse order (all the transactions) should be called automatically. And the goods receipt should be posted.
    Can someone throw more light on the customizing/BADI/enhancements etc required??
    Thanks and Regards..

    Hi koen,
    I tried with the FM that you suggested...
    But somehow with the process type 'stock removal' gives an error...
    Is that that this FM will help to create a pick task for a particular outbound delivery--Tcode:/SCWM/TODLV_TO.
    how will this FM take the outbound delivery as an input?or it will be on the corresponding sales order number and item number as input?
    Being new EWM i require help on this..about how to go about creating the pick task for an outbound delivery which wil be equal to the warehouse request.
    Thanks in advance,
    Rashmi.

  • Automate the EAR creation and deployment process

    Hi,
    I am trying to automate the EAR creation and deployment process. I am following this approach - http://www.oracle.com/technetwork/articles/adf/part4-098813.html
    In this approach we use pure ANT without OJDeploy. I am able to Create the EAR file but while deploying to weblogic server manually I get the attached error.
    Error is - java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    I would like to know, Is this the best practise to automate the EAR Creation and Deployment Process? If not, Please provide me some other best approach.
    Thanks in Advance.
    Regards
    Balaji S

    Balaji,
    I am the author of that article.
    At the time I wrote the article, ojdeploy was not working properly - however, the bugs that I noted at the time have been fixed. If I were writing the article today, my strong recommendation would be to use ojdeploy.
    If you insist to use the pure ANT (no ojdeploy) approach, I'd debug your issue this way:
    1). Generate the EAR file using the deploy option from the application navigator in JDeveloper. Deploy that EAR file to your WLS server and test to ensure it works. A note that if you are creating an ADF app, you must deploy the JRF to WLS first.
    2). Once the EAR from JDev is working, use a tool such as WinZip to expand the JDeveloper-generated EAR file and your ANT-generated EAR file. Compare the two. If you find differences, fix the ANT scripts so that they are the same.
    John

  • Automate the Creation of, or Import Track Groups-Can Logic do this?

    As someone contemplating jumping ship from DP after 10 years, I was wondering if Logic can automate the process of creating or adding track groups that I use regularly. For example, if I demo a song with a drum loop and then want to add live drums, I always create the same 12 tracks with the same pan, eq information when micing a drum kit. Can I create something called "drum set-up" and import it into an existing project instead of having to create (the same) 12 tracks, set all the pan info, add eqs, gates, etc...
    Thanks for your expertise! Looking forward to delving into the new work environment.

    I've often wished for a feature like this, but sadly Logic doesn't have it...
    So what I do is have a folder on my basic template, and inside that folder are 12 tracks grouped together (so I can record enable'em in one click), with all appropriate plugins and settings ready to go.
    That way all my songs are 'ready' for live drums, and by keeping them in a folder they don't take up to much space in my arrange page. I also sometimes use "Hide Tracks" to keep the drum folder out of the way until I may need it.
    Other than that, you can fairly quickly create 12 new tracks with the little "+" icon in the arrange page. Then each track needs a click to load your fave channel strip preset for kick/snare/tom/overhead etc.
    The only downer about that, in my mind, is that the channel strip presets don't include input settings and send/aux assignments. But at least you can drag-select all the tracks in the mixer and quickly give them all the same sends, so it's not too huge a pain.
    Still, I've often wished for a "load channel strip(S)" button so I could import a dozen tracks in one go... Maybe Logic 10 will include this feature. (I've already given up wishing for stuff in 9).

Maybe you are looking for