OS user for Datapump jobs
When I run the datapump export (Oracle 10g) from my Solaris box, the dumpfile and logfile created in the directory are owned by OS user oracle and group dba with a permission mask of -rw-r--r--.
Is there a way I can provide a different user/group/permission for the files generated by export?
Pl see if this related thread can help
Re: file permissions on data pump exports
HTH
Srini
Similar Messages
-
Hi All,
I want to change the user for DB13 jobs of update stats and check database. I do not find any option to do that.
Please help me how to do this??
Thanks
TajinderHi tajinder,
go to SM37, select job & select job -> change, go to edit -> steps and select step -> change from the menu.
Enter the user name in user text box.
Hope this help
Regards,
Rajesh -
Hi all,
Right now BI jobs (daily, weekly, monthly, process chains etc) are scheduled under the SAP user's id. My organization is changing these names to employee ids and hence they are knocking off the existing SAP user ids. Obviously the jobs will get stuck.
Now, my question is ...
1. what is the std. user under which the jobs should run ?
2. How do I convert all the existing jobs that are under various SAP users to a std BW username? what is the procedure ?
Thanks.Vaishali,
I don't know of any "standard" user ID for this. You can just create your own user for this purpose. We called it "BWBATCH".
Our Basis guys took care of changing the user id running the processes. Check with your Basis Team.
But since we wanted this ID to be not only the one running the jobs but also the one owning them we just logged as this user in the system and rescheduled all the jobs. Now he's the owner and the "runner" too...
Hope this helps.
Regards,
Luis -
How to change the user for an event job as SAP_MONITORING_STARTUP_DISPATCH
Hi experts!
We change the user that execute all our jobs. I can change the user JOB-BW for JOB-BI for this job SAP_CCMS_MONI_BATCH_STARTUP_DP, but the problem is when this job is executed by event for this other job SAP_MONITORING_STARTUP_DISPATCH, but i can't change the user JOB-BW for JOB-BI for this event
Could you tell me, how i do the change user for this job.
Best Regards
Ramon SanchezHi!
My problem have been solved. The job SAP_CCMS_MONI_BATCH_STARTUP_DP is automatically created by
Job SAP_CCMS_MONI_BATCH_DP. It is an event triggered job to handle the startup-methods which are to be processed in batch.
The event is SAP_MONITORING_STARTUP_DISPATCH; I only select the job in SM37 and specify this event and after made the search the job SAP_CCMS_MONI_BATCH_STARTUP_DP i only change the user.
Thank you all for your help!
Ramon Sanchez -
Change user for backup scheduled job
Hi all,
In our ecc 6.0 system is cluster controlled.i have scheduled regular br offline backup @ night for this month in db13.In a particular day for some reason i have removed the scheduler in db13 and also delete the associated released background job in sm37.On the next day after restarting the system i change the user for backup background job in sm37 for the current day but i need the changes for all rest of the day of this month.One option is that delete from db13 and recreate again with required usreid.
without recreate could anyone tell me how to change the user for background job for the other day also??
Regards
PinakiHi
In order to change the user id in SM37 to run under different user you can highlight the background job which is scheduled to run, double click on that and click on STEP in task bar.
Click on USER and you would have a change pencil icon.
Click on Pencile Icon and It would take you to another pop up were you can have the user name entered.
In this way job would would show some other user name who is creator but would run under the person whom we have entered above.
Thanks and Regards
Arun R -
JOB_OPEN - SUBMIT - JOB_CLOSE - User Name for the Job
Hi,
I have a code like that:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = lv_jobname
IMPORTING
jobcount = lv_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
* Call Update PO from Sales Order
SUBMIT zpcc_mm_upo3
WITH p_vbeln = puv_vbeln
USER lc_uname
VIA JOB lv_jobname NUMBER lv_jobcount
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = lv_jobcount
jobname = lv_jobname
strtimmed = lc_true
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
In this code as you see I can run the SUBMIT program with a specified user. But the creator of the job always becomes SY-UNAME. So is there a way to specify the user name for a job creator? I don't want to use SY-UNAME.
Thanks,Hio try this way...
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = lv_jobname
IMPORTING
jobcount = lv_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
"Comment this
* Call Update PO from Sales Order
SUBMIT zpcc_mm_upo3
WITH p_vbeln = puv_vbeln
USER lc_uname
VIA JOB lv_jobname NUMBER lv_jobcount
AND RETURN.
"Comment end
* Call function to submit the job
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = wa_authchknam "Pass the Other User name you want
jobcount = lv_jobcount
jobname = lv_jobname
REPORT = 'zpcc_mm_upo3'
VARIANT = jobs-variant "Create Varaqint
PRIPARAMS = wa_PRI_PARAMS
EXCEPTIONS
BAD_PRIPARAMS = 1
BAD_XPGFLAGS = 2
INVALID_JOBDATA = 3
JOBNAME_MISSING = 4
JOB_NOTEX = 5
JOB_SUBMIT_FAILED = 6
LOCK_FAILED = 7
PROGRAM_MISSING = 8
PROG_ABAP_AND_EXTPG_SET = 9
OTHERS = 10
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = lv_jobcount
jobname = lv_jobname
strtimmed = lc_true
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
Prabhudas -
How much do you get paid annually for this job User Interface Designer?
how much do you get paid annually for this job User Interface Designer?
Apple probably will not discuss salaries even for specific jobs other than with applicants. If you wish to discuss salaries, you'll most likely have to apply for a specific position and then get beyond the initial screening.
This issue has nothing to do with Apple Remote Desktop, the topic of this forum, by the way.
Regards. -
Data pump for HR Jobs and HR positions for v11i
I am trying to use Datapump (v11i/11.5.2)
to load the data for HR Jobs and Hr Positions. I am loading HR_PUMP_BATCH_HEADER and HR_PUMP_BATCH_LINE TABLEs with records having required valid values but I am getting error. I have succefully loaded the employee data using same method before.
Have anybody done this ? PLase help.
nullI got the below from Metalink.
Pl. see whether it is helpful for you, since I have little knowledge about HRMS.
The HR_PUMP_BATCH_LINE_USER_KEYS table must be seeded with value in order for the package that follows to work. In some cases, the user must provide this value.
I ran into this problem when trying to run the create_job_requirement API through the Data Pump. Within my PL/SQL block, this is how I passed the value to my variable:
pv_id_flex_num_user_key := sel.sun_job_id| |sel.name| |sel.job_requirement_id| |sel.id_flex_num| |':ID FLEX NUM USER KEY';
I then performed the following after calling the insert_batch_line procedure and passing all the parameter values:
SELECT hpbl.batch_line_id,
coj_hr_ci.devl_seq_s.nextval,
coj_hr_ci.devl_seq_s.nextval
INTO v_batch_line_id,
v_sequence1,
v_sequence2
FROM hr_pump_batch_lines hpbl
WHERE hpbl.pval058 = pv_id_flex_num_user_key;
INSERT INTO hr_pump_batch_line_user_keys(batch_line_id,
unique_key_id,
user_key_id,
user_key_value)
VALUES(v_batch_line_id,
50141,
v_sequence2,
pv_id_flex_num_user_key);
null -
How to prevent user from creating jobs
Hi,
we need to prevent user from creating jobs on a dev enviorement. It's a 10.2.0.4 database standard on linux 64bits.
Their schema has only connect and resource roles. Is there a way to prevent them from creating jobs? In 11g it's the CREATE JOB permission, but in 10g i'm not sure how can i do this.
Thanks for any ideas!On 10g it's probably the CREATE JOB as well.
http://www.oracle.com/pls/db102/homepage
Alternatively you could:
alter system set job_queue_processes=0
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams089.htm#REFRN10077 -
Can we define users for both studio and integrator server
Can someone please let me know how can we define users for both studio and integrator server so that the user can be used to view UI page but not modify it.I want to define user in studio which will access the Page but not modify it. And the user in integrator server should be able to view scheduled jobs.
Thanks a lot.
Regards,
AmritAmrit,
Both Studio and Integrator Server support LDAP. See http://docs.oracle.com/cd/E35976_01/studio.240/eid_studio_users/toc.htm#Integrating%20with%20an%20LDAP%20System%20to%20Manage%20Users for details about implementing LDAP in Studio. For Integrator Server, see "LDAP Authentication", p. 38 (document pagination; p. 44 pdf file pagination) in the Integrator Server Guide (http://docs.oracle.com/cd/E35976_01/integrator.240/DataIntegratorServer.pdf).
RLJII -
How can I change default OEM DataPump job?
Greetings,
I have successfully created a DataPump job to run out of OEM GC by choosing the target database I wish to export, then under the Data Movement tab selecting the Export to Export Files option. I then create the DataPump job and it runs successfully.
Now I would like to add the parameter REUSE_DUMPFILES=Y to the job but am not able to find an option in OEM allowing me to add this parameter. Is this possible and if so can someone explain to me how to do it.
Thanks.
Bill WagmanBill,
I don't see a way to do that. For sure, not in the UI while creating the "Export to Export Files". The only place you may be able to do this is add it to the command line for the job, as follows:
expdp scott/tiger directory=dir dumpfile=scott.dmp logfile=scott.log tables=emp REUSE_DUMPFILES=Y
Doesn the creation of the job save the job and the commands in the job library?
I would create a job in EM that does an OS command vs creating a job on the DB job queue and that way, you can ose the above.
let me know.
Thanks -
Create user for CPS in _ UPPER CASE LETTERS _ if using JSM on SolMan
only create users for CPS in UPPER CASE LETTERS if using JSM on SolMan
Dear CPS Admins,
If you plan to use Job Scheduling Management (JSM) on SAP Solution Manager together with CPS by Redwood please always create any users in CPS only with upper case letters to avoid issues in the communication between SolMan and CPS.
The user creation for CPS is done in the UME (Java user administration, alias /useradmin).
Actually the CPS user itself is only created in CPS during the first logon.
Both CPS and the Java UME are case sensitive. So you can create users in uppercase, lowercase or mixed letters. But of course the system does still not allow duplicate names. So you can either create MUELLERP, MuellerP or muellerp - but not multiple of them.
Now, if the SolMan communicates with CPS for Job Scheduling, the actual user name is taken in some kind of a "trusted RFC like" way and checked on the CPS system connected to the SolMan. If the current SAP user does not exist on CPS no activities are possible, neither in read mode (read existing CPS jobs) nor in write mode (change existing jobs or create new ones).
Unfortunately the Solution Manager transmits the current user name to CPS only in upper case letter. So if the CPS user was not created in UPPERCASE letters in CPS the communication will fail. Therefore, think about creating CPS users in UME only in UPPERCASE letters. Changing this later is difficult to impossible.
Best regards,
Peterhi,
I tried to reproduce your issue but I was not able to create a UME user with lower case letters.
UME automatically converted the user name into upper case after saving. So even if I enter "cps" as user name UME stored the user name as "CPS".
(maybe that happend because of the existing SU01-UME integration in our SolMan system)
If UME would be case sensitive I would expect that it is possible to create the user "CPS", "cPs" and "cps".
Regarding the SolMan-CPS connectivity:
Transaction SU01 allows only upper case letters (in user name and alias). Since you're starting from an ABAP system only user names with upper case letters are supported. It's a technical constraint of the ABAP user management that user names consist of upper case letters only.
Kind regards,
Martin -
Best way to ask user for duration ??
I am wondering what the best way to set up a dialog to ask the user for a duration is ?
I need to query the user for the following duration example 1 month 3 days 5 hours 15 mins
I have tried messing around with JSpinners with date formats but they really only work with fixed calendar dates not calendar durations...
Any ideas on a neat approach..
Currently i have an individual number spinner for each of the items which looks ugly and is hard to manage as you have to take care of up to 23 hours but 24 is one day so one day etc etc..
Thanks in advance
-AlanYou continue along the same lines; keep the DTO in the session as an attribute. When you display your JSP, read the appropriate values for choices from the DTO and set your checkboxes/ radio buttons to 'selected' if they should be.
When the page is submitted, read the parameters from the form submit and update your session attribute ( DTO ) to reflect any changes the user might have made like selecting a new option or deselecting a previously selected one.
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
DDL for DBMS_SCHEDULER job
How do I generate the DDL for an existing DBMS_SCHEDULER job? I've tried using DBMS_METADATA.GET_DDL, but that doesn't seem to work with the scheduler jobs.
Susan's method is probably the best.
Another slightly more clunky way is to export the user's schema (using expdp) and then use impdp with the SQLFILE option, so the generated file will then contain the DDL to create the job.
Note than none of these methods will work if you have set non-varchar2 (i.e. object) argument values for the job.
Hope this helps,
Ravi. -
Oracle dba datapump job low space
my server has 10gb free space ,but datapump job requires 100gb how can i export with export
With plain old unix compression I'm getting about 80% compression on my exports.
Another idea is to use the FILESIZE parameter to limit files to something less than available space, then move the file while expdp stalls with the out of space error. I've never tried that, so I don't know if it works. It's usually easier for me to move other stuff around to make space first, or use original exp into a pipe.
Maybe you are looking for
-
Need help installing Photoshop Elements 7
When I insert the disc, nothing happens...
-
I just updated itunes 11.1 and my computer won't work
I updated the new ios 7 on my iphone 4s. It wouldnt recognize itunes until i updated iTunes to 11.1. Once I did that the computer froze on a blue screen and a rotating gear. Help?
-
HT201209 How do you use a gift card for the billing info
How do you use a gift card in the billing info
-
Dynamic Query in Element Definition
Hi All, I am using SiteStudio 10gR4 Designer, i have placed a query in element definition, since the query is auto generated from content server so it is specific to node ID, now i want to use it for other node IDs as well. Just to clear out i want t
-
Anchored items size with javascript
Hi all, I try to get the size of an item in my InDesign page, with the function geometricBounds. It causes a problem when my item is anchored to another one : I only get the bounds of the main item and not the anchored one (see the red arrow in the s