Regarding Batch Jobs for migration of data from client DB to our local DB
Hi Folks,
GoodDay, Previously I worked as a Oracle Developer and recently shifted into a BIG organisation as PL?SQL developer. Here my base work is with INTERFACES(Stored Procedure). That is retrieving data from client DB and need to put the data in our staging tables. For that i created 2 INTERFACES(stored procedures). One is for one time migration. No need to run on regular basis. The second one is to run regularly why because if any updations are done in client DB that should be replicate to our DB. For that we need to run a BATCH JOB regulary 24X7 basis.
But i dont have any working knowledge on BATCH JOB creation and running. Please let me guide on this issue ASAP.
Regards,
Ramesh.
You can try
dbms_job(9i)
or
dbms_scheduler(10g)
just out of curiosity.. tell me if you are interested...
what you were doing as a "oracle developer" ( is it like writing only "sql" )...
Similar Messages
-
Best practice for migrating eLearning data from Sol Mgr 3 to 4?
Greetings,
What is the recommended method for moving eLearning data when migrating from Solution Manager 3 to version 4?
Thanks in advance,
Ken Henderson948115 wrote:
Dear All,
This is Priya.
We are using ODI 11.1.1.6 version.
In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines? If this is the 1st time you are moving to QA, better export/import complete work repositories. If it is not the 1st time then create scenario of specific packages and export/import them to QA. In case of scenario you need not to bother about model/datastores. keep in mind that the logical schema name should be same in QA as used in your DEV.
Some questions on current state.
1. Do the id's of master and work repositories in Dev and Test need to be the same?It should be different.
2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.It is required to ensure object uniqueness across several work repositories. For more understanding you can refer
http://docs.oracle.com/cd/E14571_01/integrate.1111/e12643/export_import.htm
http://odiexperts.com/odi-internal-id/
3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?If you are exporting topology then you will get the logical connection and context details. If you are not exporting topology then you need to manually create context and other physical connection/logical connection.
>
Thanks,
Priya
Edited by: 948115 on Jul 23, 2012 6:19 AM -
Process to migrate configuration data from one BW development system to other
Hi SAP Gurus,
We need to migrate configuration data from one BW system DE1 to DE2.. Both systems are SAP net weaver 7.3.
DE1 is BW pre-production system and DE2 is BW DEV.
No transactional data required.
Please share a document if available.
Kindly, let me know the procedure for Remote Client copy or client export/import with steps.
Also let me know the pre-requisite for these activities.
Thanks,
Avadhesh Sharma
+91 8095226536Hi,
Remote Client Copy (SCC9)
Remote client copy is performed in rare situation. When the client copy is done
between two different SAP systems, the copy is called remote client copy.
Before remote client copy is performed, a RFC connection must be set between those
systems using SM59.
1. Check RFC connection is working fine between two systems you want to perform
remote client copy using SM59
2. create client in the target system you want to copy the client
3. login to target client using user SAP* and password PASS
4. execute tcode SCC9 and select the RFC for the source system
5. select the profile you want to copy like SAP_ALL
6. select source client number you want to copy
7. Select source client master data , mostly it is the same client number
8. Now click on schedule as background job.
9. Leave the background server field blank.
10. Click schedule.
11. Select Immediate from next screen.
12. Save the screen.
13. Client copy is scheduled now as a background job and client copy process started.
14. The progress can be monitored using tcode SCC3
Client Export/Import
A client transport consists of two steps:
First a client export extracts client data from the source client
to files at the operating system level. Then the data is imported
from the operating system files into the target client.
To perform a client export, follow these steps:
1. Log on to the source client. From the SAP initial screen,
choose transaction SCC8 (Client Export). Select the data to
be copied using a profile.
2. Indicate the target system to which the client will be copied.
The target system must be defined in TMS as part of the
transport domain.
3. Begin the client export. Because copying is a lengthy
process, use scheduled background processing.
Do not run any other client copy tool before the
data export is finished.
This export process will generate up to three data files at the
operating system level:
• RO< number >: this file contains cross-client data
• RT< number >: this file contains client-specific data
• RX< number >: this file contains SAPscript texts
Depending on the type of data selected through the client
transport profile, the client copy command files added to the
buffer of the target system are as follows:
• <S-SID>KO<number>: this file is for cross-client data
• <S-SID>KT<number>: this file is for client-specific data
• <S-SID>KX<number>: this file is SAPscript texts
The client export change requests are not imported when an
Import all takes place. Therefore, you must import these requests into the target client
using TMS. Choose one of the transport requests of the client transport in the Transport
Management System (TMS). The other transport requests belonging to this client
transport are then automatically added in the correct order.
After the import process has completed, post-import activities are required for object
generation steps. After completing the import, log on to the target client. From the SAP
systems initial screen, choose transaction SCC7
Regards,
Chandu -
Urg req: Migration of data from 1 category to another - Error with 5 files
Gurus,
I am trying to migrate the data from one content category to another and it woks just fine with the standard sap report:DMS_RELOCATE_CONTENT.
We moved all the documents except 5 files, when we use the report for the DIR's the content server shuts down automatically.
I tried to read the file from SAP (CV03N) and the same thing happens. Can anyone pls suggest any solution for the issue. If we can atleast read the file we can check it into other content category manually but the challange here is to know what is causing the content server to be down.
Appreciate your suggestion ! !
//Madhav.Hi,
could it be that you have also raised a SAP support message on this issue? Because I remember this kind of scenario and I forwarded a support message to the Content Server experts some days ago. At the moment the Content Server development team is analysing the issue.
So if this is you message I would kindly ask you to wait for the reply of the development expert. Otherwise please tell me so I can update you with the findings too.
Best regards,
Christoph Hopf -
How to migrate the data from DEC RDB 5.1 to Oracle 11g
Hi,
As part of my project, we need to migrate the data from DEC RDB 5.1 present on Alpha server with VMS 6.1 OS into Oracle 11g. The size of the data in DEC RDB is around 40 GB.
Could you please suggest various ways of getting this done in easy and simpler way?
Thanks in advance.Hello,
when Oracle bought Rdb from Digital Equipment Corporation (DEC) in 1994, the name of the product changed from DEC Rdb to Oracle Rdb. Meanwhile the actual version of Rdb is 7.2, so you are on a VERY old version. And that excludes the suggestions from the mentioned note to use a database link from Oracle RDBMS to Rdb, that is simply not possible with that old version of Rdb.
But Rdb 5.1 knew already the Rdb Management Utility (RMU) - I just checked that with Rdb 4.1 which is even older.
There are two commands that are helpful for your task.
RMU/EXTRACT - that writes the metadata into a file. That output helps you to build a script to create all the objects in your target database.
RMU/UNLOAD - that writes the data of each table into a formatted file (one file per table). That output can be used by the SQL*Loader to load your data into the target database.
You can read all details about these commands in the online help on your Alpha. At first, issue the HELP command and look in the output list whether it lists a command RMU or RMU51. Then run that command:
$ help rmu /extract
and
$ help rmu /unload
Replace rmu by rmu51 if the help command shows you that rmu51 exists but not rmu.
There is one caveat. Do you use blobs in your Rdb database? If you don't know that, create an the output with RMU/EXTRACT and search the output file for the string LIST OF BYTE VARYING. If there are none then you have no blobs. If you have some you need to take more care of them, they can't be unloaded into a formatted file, that must happen programmatical. If you have such fields then let me know, then I'll tell you how to get them out of your Rdb database.
Best regards
Wolfgang
P.S.: For Rdb related questions it is better to ask in our Communities at https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms . That forum is watched by Rdb Support and Development. -
Problem in creating Batch job for programs in different servers.
Hi All,
I have a requirement like i have 2 different programs ( PRG1,PRG2 ) running in 3 different SAP servers (SER1,SER2,SER3).
I want to create a batch job for the programs.
Here When I run the PRG1 in Server SER1,it will create a file1 in SER1 as well as the other 2 servers (SER2 and SER3).
It just create a file and there is no content in the file.Once i start writing records to file1in SER1,the same record will be started writing in SER2 and SER3.This is using PRG1.
Once PRG1 will complete writing records in file,Next PRG2 will run in SER2 using file created by PRG1.
I want to create a batch job for PRG1.
How to trigger the PRG2 after completing job1 for PRG1 without any manual interaction.
Please help me for this.Hi Ambili
You can set steps in these jobs in transaction SM36.
You can define that Job 2 starts after Job1 complete sucessfully and same game for other jobs.
Please, check attachment for detailed information about that
Kind regards
Edited by: Carlos Machado on May 27, 2010 6:01 PM -
Help needed in creating a batch job for delivery
Hi gurus
Can somebody tell me the process of creating a batch job ..for creation of delivery.. is this the same process to create the batch jobs for invoices also?
thankyou
bjhello jaya ,gsl
thankyou very much for ur help .. I have tried creating a variant .. in vl10batch.. and ive assigned it a scheduled time .. i craeted a open order.. and when the scheduled time has arrived and is over,i went to the order and still i dont see any delivery doc created .. and in sm37 its shows that the job is finished ..i even tried sm36 .. of creating a job for the variant.that ive craeted in vl10batch .and then assigning the job in sm37.. i can see the job that ive created in sm37 it is changing its status from released to finished .. as per the scheduled time but the delivery is not created .. i tried vf06 for a billing variant.. and went to sm36 craeted a job for the variant..using the program name.. and next to sm37 i can see the created job in the spool also..but somehow it is not creating the billing doc also..
can u help me to find where it actually went wrong with me ?
thanksalot in advance.. -
How to migrate the data from DB to another DB
Hi folks,
In my project I have one requirement. Let me explain in detail we are maintain two databases one for
master database called *GIIS* and one is history database HIST. Both DB version is 10g R1.
(Both DB’s have same no table as well structures)
1. The GIIS database contains nearly 400 tables (master table as well as temporary table)
each Master table having it’s own temporary table.
2. Whenever we made the entry first it will go to temporary table after authorized that entry it will move to the master table
3. But the temporary table contains the data after move to master table .
4. The temporary table data’s will be move to the HIST database each and every day at the night.
This migration we done through the procedure. After migration complete the temporary table data’s will de deleted.
My Question:
1. Whether it’s good practice to migrate the data from GIIS DB to another HIST DB using oracle stored procedure.
(we created the DB link from GIIS to HIST)
2. If not can any one suggest me the way to migrate the data from GIIS to HIST.?
3. Is there any other possibility to migrate the data from GIIS to HIST with out using procedure?Thanks
ArunArun wrote:
Hi Mr.Aman Brother
First of all sorry . I am not saying that don't command my requirement. Just i want know the way of migrate the data from one DB to another DB.
you saying that IMPORT/EXPORT is one of the way to do migration.
But in client side they don't know how to do the IMPORT & EXPORT the database..
Can you suggest me the another way to do that
Arun,
If the client doesn't know how to do exp/imp, I would really doubt and would be immensely concerned before suggesting the client any other way. If they don't know, tell them that there is a concept called test database which is used for learning so they should invest time to learn this technique since the other options suggested by fellow members are far more tougher than this one.
Aman.... -
Lock NOT set for: Archiving the data from a data target
Dear Expert,
I try to archive one of my info cube, when i start to write the Archive file the Free Space in the Archive folder not enough and it make the process error.
Then i try to changes the Archive folder to another path with enough free space. But when i start to write the archive file with new variant this error message came up :
==============================================================
An archiving run locks InfoProvider ZICCPS810 (archivation object BWCZICCP~0)
Lock NOT set for: Archiving the data from a data target
InfoProvider ZICCPS810 could not be locked for an archiving session
Job cancelled after system exception ERROR_MESSAGE
==============================================================
Please Help Me.
Wawan SHi Wawan,
If the earlier archive session resulted in error, please try to invalidate the earlier session in archive management and try running archive job again.
Hope this helps,
Naveen -
Is it possible to create a batch job for program RPRCCC00
Dear All,
I want to create a schedul batch job for program RPRCCC00. Have you come across with this scenario.
Thanks in advance
Regards
ShanuHi,
Yes, you can create a batch job of the program RPRCCC00.
Using SM36 transaction, you can create a batch job.
Hope this helps.
Thanks,
Prashanth -
Migration tool for migrate MII objects from 11.5 to 12.1
Hi All,
We can use any of the tools SP01/02/03/04 for migrate MII objects from 11.5 to 12.0.
Our requirement is to migrate MII objects from 11.5 to 12.1.
Can we use the same tool to accomplish our requiremnt ? Or is there any other tool for this?
Please suggest me on this.Thanks in advance.
Regards,
ManishaThanks Jamie.I got it.upgrade guides located at http://service.sap.com/instguides -> SAP Business Suite Applications -> SAP Manufacturing -> SAP MII.
Thanks,
Manisha -
How to create a batch job for transaction SM13 or SM37
How to create a batch job for transaction SM13 or SM37?
I want to create a batch job for t-code SM13/SM37, the jobs will send a email to my inbox when the errors occurred in SM13/SM37.
How to do this? thanks in advance.Hi,
Check the link:
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
Make sure the CCMS agent installation is in place as per the Monitoring setup guide.
Follow the link Central auto reactions for configuring alert mails.
Regards,
Srikishan -
Set a batch job for LP21 transaction
How to set up a batch job for LP21 transaction.
first you call LP21.
enter your selection criteria
click save button
give name and a description for the variant and save.
leave LP21
call SM36
enter a job name e.g. "MY Replenishment run"
click start conditons button
click date/time button
enter a date and a time when the job shall run
click button for periodic value
click daily
click save
click save
now your back at define job
click step button
enter a user that has the rights to run this job (maybe your own user id, maybe a functional user id)
enter the ABAP name e.g. RLLNACH1
enter the variant name of the variant you created earlier in LP21 (you can use F4 to find it)
enter language
SAVE
now you are in the step list overview.
you can leave this screen
back on the job definition just click the SAVE button
thats all -
I can't migrate my data from my old pc to my new macbook pro
Hi,
I have been trying to migrate my data from my PC to my new mac but it always seems to fail.
At first, I would begin the migration assistant and then after a while the PC would just crash.
But then I finally thought I managed to get it working. It said that process was complete (on both the PC and mac), but there was no data on my computer and no music in my iTunes.
If anyone has any advice I would really appreciate it!!
PS I also have an Ethernet cable if that's of any use but I don't know how to use it.I suggest you stop using the Migrastion Assistant. Simple fact is, as you have found out, that it does not work most of the time and when it fdoes actuall transfer data it doesn't do it very well.
Just network the 2 computer together over your LAN and copy and past the files you want to move to the Mac.
Otr use an External drive, formatted either FAT32 or exFAT (doinig the formatting on the Windows PC) and then copy to the external from the Win PC and then copy from the external to the Mac.
You'll be happier. -
Gui_download for transferring the data from internal table to excel sheet.
hi all,
i am using gui_download for transferring the data from internal table to excel sheet.
I have a internal table with 3 columns col1,col2,col3 and I am getting the file at the specified path,but my problem is that,in the excel sheet(path specified) all the 3 columns values are printed in one column.Please help me.
Thanks in advance.Hi Venkata,
plz use FM 'SAP_CONVERT_TO_XLS_FORMAT' :
call function 'SAP_CONVERT_TO_XLS_FORMAT'
exporting
* I_FIELD_SEPERATOR =
* I_LINE_HEADER =
i_filename = p_file
* I_APPL_KEEP = ' '
tables
i_tab_sap_data = t_mbew
* CHANGING
* I_TAB_CONVERTED_DATA =
* EXCEPTIONS
* CONVERSION_FAILED = 1
* OTHERS = 2
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Hope this helps,
Erwan
Maybe you are looking for
-
Are There Any Good Windows Store Apps For Managing AD Users?
I'm thinking of buying the $79 HP Stream 7 tablets (1GB RAM 16GB storage) and using them as pocket computers to manage AD users while walking about. We could simply run Remote Desktop to access our workstations and use RSAT tools, but it would be nic
-
Hi, Since Mountain Lion I have a problem with safari. I hoped that upgrading to Mavericks would help, but it didn't. I cannot open pdfs within Safari on my iMac. I already saw other threads that helped many people with solutions but for me these doen
-
Unable to open image in camera raw in CS3
I have CS3 and I'm unable to open images in camera raw. I updated to 4.6 but it hasn't helped, and I've tried suggestions such as "open as" and then "formats" and choosing "camera raw"...still doesn't work. Adobe is not able to help me over the pho
-
IAS 10.1.2.0.2 on Enterprise Linux
hi all, we are venturing into the world of oracle on linux (without any real knowlege on linux), so ive decided on installing Enterprise Linux 5 rather than ubuntu or similar. ive installed standard Enterprise Linux 5 setup on a server and included t
-
Hi, we are currently looking into using a Store & Forward design to allow updates on our xMII v12.0 (AIX) system to continue during an ECC outage and catch up our SAP system (asynchronous) after an ECC outage. Seems there are multiple ways to accompl