Creating jobs from library jobs
I know that jobs can be saved to the library to share with others. I wanted to know how to copy a job from the library to the normal job scheduler. Can this be done? It doesn't seem very intuitive if there is a way to do it.
Thanks!
Jeremy
There is no EM supported way to do this.
Rob
Similar Messages
-
Get the ID of a dynamically created symbol from library, INSIDE another symbol.
Hi everyone,
I'm trying to get the id from a dynamic created symbol from library.
When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
But I just can't get it to work when creating the symbol inside another symbol.
Below some examples using both "getChildSymbols()" and "aSymbolInstances"
// USING "getChildSymbols()" /////////////////////////////////////////////////////////////////////////
// ON THE STAGE
var m_item = sym.createChildSymbol("m_item","Stage");
var symbolChildren = sym.getChildSymbols();
console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
// INSIDE ANOTHER SYMBOL
var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
console.log(symbolChildren.length) // returns 0 so can't get no ID either
// USING "aSymbolInstances"" //////////////////////////////////////////////////////////////////////////
// ON THE STAGE
var m_item = sym.createChildSymbol("m_item","Stage");
console.log(sym.aSymbolInstances[0]); // ok (i guess) x.fn.x.init[1] 0: div#eid_1391854141436
// INSIDE ANOTHER SYMBOL
var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element
In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
Could it be this only works on the stage/ composition level only and not inside a symbol?
The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
1) Storing a reference of the created symbol in an array and call it later by index.
2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
I can't believe this isn't possible. I am probably missing something here.
Forgive me I am a newbie using Adobe Edge!
I really hope someone can help me out here.
Anyway, thnx in advance people!
Kind Regards,
Lester.Hi,
Thanks for the quick response!
True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
Although I know it is possible.
Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
I want to reuse this (unique) ID given by Edge after creation.
If created on the stage directly you can get this ID very easy. Like this;
var m_item = sym.createChildSymbol("m_item","Stage");
var symbolChildren = sym.getChildSymbols();
console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
I want to do exactly the same when created INSIDE another symbol.
var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
This is what i'm after.
Thnx in advance! -
IT GRC Process Pack _ Create Risks from Library
Hi Folks, so I'm trying to figure out if MSFT provides the a Risk Library - since when we create a Program and then attempt to "Create Risks from Library" the content is empty. I've gone through the process to import the MPs to provide various
Control Libraries - but I don't see where we can include anything for the Risks. If someone can point me in the right direction that would be ideal. Thanks!
-NormanThat new Tbird acct has no info for connecting to internet, because I currently do not have all the "account settings, server settings etc..
but yet, it did download two emails yesterday.
My local server .. Cybermesa .. will be open Monday, and I can call to get all that stuff, if necessary. -
CREATE REPORT FROM JOB LIBRARY
Hi Everyone,
I have created the job and saved in job library, and just want to create report from that job, am not able to find any option in that report.
In breif,
Created job - host command ( for ex : ls -tr)
saved to job Library
After that i just want to take report and send to everybody to the ouput...
Please let me know is there any choice...
Regards
KSo, you now have a report in your job library. To run it, you will need to schedule it..
Edit the report, go to Schedule tab,
- check the "Schedule Report" checkbox
- specify when you want to run the report (now, later etc..)
- check the "Email report each time scheduled report completes" checkbox
- specify email addresses under Email report. -
Creating Job material using public API from WIP
Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
from OAF how we have to create Job material transactionHi Pat,
What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
Do you experience the same slowness when connecting via DI API in a non-WebService setting?
I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
Henry -
JSM - Creating Job Documentation from Job Request itself
Hi all,
I am still exploring JSM, and I know its possible to create Job Request (Job Req) from Job Documentation (Job Doc).
But is it possible to create the reverse (Job Doc from Job Req) ?
This will be great, if the user is creating Job Req from "Detailed" version (compared to "Basic"), which has similar entries and tabs, as Job Doc.
I did read somewhere that its possible, but I never find any documentation or SCN/blogs on this.
Thanks in advance
Regards
ShahulThis was answers below, in the comment area by Volker.
How to configure SAP's standard Job Request form - Part 2
Hi Shahul,
the user triggers the Job Doc creation from within the Incident or Change Request in the JSM assignment block, but then the data from teh Job Request is automatically taken over for the Job Document.
So starting the creation and pushing the save button is manual work, but the filling out the Job Doc is done automatically.
Kind Regards
Volker
Regards
Shahul -
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 -
ORA-00990 trying to execute 'grant create job'
SUN Solaris 2.9, ORACLE 9.2.0.4, HTML DB Version 1.4.2.00.21
ins.sql gets an error "ORA-00990: missing or invalid privilege" while performing "grant create job to FLOWS_010402 with admin option;"
It appears this command was recently added to coreins.sql (Rem jstraub 09/29/2003 - Added with admin option to create database link priv, added create job, library to privs granted (Bug 3159606)).
Has anyone had any experience with this?we should probably have included a better comment/message in that file, but CREATE JOB is only a valid system priv in 10g...
SQL> select banner from v$version;
BANNER
Oracle10i Enterprise Edition Release 10.1.0.1.0 - Beta
PL/SQL Release 10.1.0.1.0 - Beta
CORE 10.1.0.1.0 Beta
TNS for Linux: Version 10.1.0.1.0 - Beta
NLSRTL Version 10.1.0.1.0 - Beta
SQL> grant create job to rmattama;
Grant succeeded.
SQL> connect system@captain
Enter password:
Connected.
SQL> select banner from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.2.0 - Production
PL/SQL Release 9.2.0.2.0 - Production
CORE 9.2.0.2.0 Production
TNS for Linux: Version 9.2.0.2.0 - Production
NLSRTL Version 9.2.0.2.0 - Production
SQL> grant create job to rmattama;
grant create job to rmattama
ERROR at line 1:
ORA-00990: missing or invalid privilege
SQL>
...i'll log the comment issue is a bit.
regards,
raj -
Hi Experts,
I am about to create a batch job. I used FM JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. However, whenever I run the program it creates job for every 1 second. It will not stop creating jobs unless you completely exited in the program. The code is not inside the loop.mariposa,
Suppose you have 100000 records which is going for dump in background also.
Taht time decided to create a job for every 20000 records.
select * from database table
into itab
packaze size 20000
where x = s_x.
your functionality here if required and moved to final internal table.
Now you have to pass this final internal table data to your submit program selection screen.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
DELANFREP = ' '
JOBGROUP = ' '
jobname = csm_std_reconciliation_job
SDLSTRTDT = NO_DATE
SDLSTRTTM = NO_TIME
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
EXIT.
ENDIF.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
ARCPARAMS =
authcknam = sy-uname
COMMANDNAME = ' '
OPERATINGSYSTEM = ' '
EXTPGM_NAME = ' '
EXTPGM_PARAM = ' '
EXTPGM_SET_TRACE_ON = ' '
EXTPGM_STDERR_IN_JOBLOG = 'X'
EXTPGM_STDOUT_IN_JOBLOG = 'X'
EXTPGM_SYSTEM = ' '
EXTPGM_RFCDEST = ' '
EXTPGM_WAIT_FOR_TERMINATION = 'X'
jobcount = jobcount
jobname = csm_std_reconciliation_job
LANGUAGE = SY-LANGU
PRIPARAMS = ' '
report = csm_std_reconciler
variant = csmvari
IMPORTING
STEP_NUMBER =
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
IF sy-subrc <> 0.
MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
EXIT.
ENDIF.
strttime = sy-uzeit + timepad.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = csm_std_reconciliation_job
sdlstrtdt = sy-datum
sdlstrttm = strttime
IMPORTING
JOB_WAS_RELEASED =
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
IF sy-subrc <> 0.
MESSAGE ID 'CSM' TYPE 'W' NUMBER '045'
WITH csm_std_reconciliation_job.
EXIT.
ELSE.
MESSAGE ID 'CSM' TYPE 'I' NUMBER '104' WITH
csm_std_reconciliation_job.
ENDIF.
endselect.
Now for every 20000 records it will create one batch job.
Pls. reward if useful. -
Creating Job Order without Assembly Routing
How can you prevent Users from Creating Job Order without creating routing to the Assembly used
RegardsHi Laxmikant
Please note the steps
Create a BOM Application in OS30
Create a new BOM ID in OS31 with BOM Usage as Production
Assign this BOM ID in BOM Application
Ensure that ID is responsible for Production planning alone.
Then in that ID maintain a BOM alone without any items.
Assign this BOM Application in Order type dependent parameters in OPL8
Now u can create a production order w/o BOM
Rgds -
Hey to all
I wanted to create a job that shrink my temp tablespace after one week. Due to huge data loading I get filled. When i create job through EM I could not understand where I put Alter tablespace temp shrink space command . For database home page click server click job link and create button under the command section where I put this command. Plz help I tried to this IN Pl/Sql but job fail
DECLARE
SQLSTMT VARCHAR2 (500);
Begin
SQLSTMT:= ALTER TABLESPACE temp SHRINK SPACE';
execute immediate (sqlstmt);
END;I would not waste my time on creating such jobs.
Main reason: they don't resolve anything. You shrink the tablespace and it will definitely start to grow again.
You are only fighting symptoms. Maybe you want to earn your living out of fighting symptoms, I don't.
Apart from the the syntax of execute immediate is
execute immediate <variable>|<hard coded literal>;
Before asking syntax questions please use the docs (in this case the PL/SQL reference manual) to verify your usage of a construct is syntactically correct.
Also this line
SQLSTMT:= ALTER TABLESPACE temp SHRINK SPACE';
is lacking a '
Sybrand Bakker
Senior Oracle DBA -
I'm having a problem creating a job in oracle . I want at the end of each day to put some values from table1 in table2, empty table1, and then delete and re-create some sequences..because I have auto-increment id and each day I want to sequence to start from 0 again. So long story short I tried creating this job using toad for oracle.
if I just put the first 2 tasks(put data from table1 in table 2, then delete) in the job it works like a charm. if I also add the drop sequence, create sequence I get an error saying
Encountered the symbol "DROP" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
so this is what I want the job to do:
insert into A(a,b,c) select a2,b2,c2 from B;
delete from A;(so far it would work)
drop sequence ida_seq;
create sequence ida_seq
start with 1
increment by 1
nomaxvalue;
drop sequence idb_seq;
create sequence idb_seq
start with 1
increment by 1
nomaxvalue;
so anybody can give me a clue on why I get the error? maybe if someone can give me a link on how to do oracle jobs..cause if I google "oracle+job" I get only jobs(for work) in oracle...but I don't get stuff related to syntax and how to create jobs in oracle. 10x in advanceIf this is a PL/SQL question, then PL/SQL has no 'DROP' or 'CREATE' keywords and you would need to use dynamic SQL with EXECUTE IMMEDIATE.
btw there are various techniques around for resetting a sequence to start again at 1 using ALTER SEQUENCE, rather than dropping and recreating it. -
Error creating job into trigger using DBMS_SCHEDULER.
Hi,
I am trying to create job using dbms_scheduler package. I have one trigger on insert event on one table. I am creating job using following syntax.
CREATE OR REPLACE TRIGGER TRG_BI_JOB_CONFIG BEFORE INSERT ON JOB_CONFIG FOR EACH ROW
DECLARE
BEGIN
DBMS_SCHEDULER.Create_Job(job_name => 'my_job1'
,job_type => 'PLSQL_BLOCK'
,job_action => 'delete_temp'
,start_date => TO_DATE('15-JUL-2003 1:00:00 AM', 'dd-mon-yyyy hh:mi:ss PM')
,repeat_interval => 'FREQ=DAILY'
,enabled => TRUE
,comments => 'DELETE FOR job schedule.');
EXCEPTION
WHEN OTHERS THEN RAISE;
END;
but I am getting following error while inserting into JOB_CONFIG table.
ORA-04092: cannot in a trigger
ORA-06512: at "PRAKASH1.TRG_BI_JOB_CONFIG", line 41
ORA-04088: error during execution of trigger
same above statement If I am running from sqlplus then It is creating job without error. If I am creating job using DBMS_JOB into trigger then It is also working fine but this package is depricated from oracle10g so I cannt use it any more.
My Oracle version is 'Oracle DATABASE 10g RELEASE 10.2.0.1.0 - Production'.
can anyone help me in this context.I have a few comments on this thread as an Oracle dbms_scheduler developer.
- Oracle takes backward compatibility very seriously. Although dbms_job is deprecated, the interface will continue to work indefinitely. The deprecation of dbms_job is so that customers will be encouraged to take advantage of the more powerful dbms_scheduler. It is extremely unlikely that entire blocks of functionality will ever be removed. There is currently no plan to remove dbms_job functionality (and even if there were, doing so would be strenuously opposed by many users).
- lots of internal Oracle database components are standardizing on using dbms_scheduler (resource manager, materialized views, auto sql tuning etc). This is good evidence that it will continue to be the recommended scheduling method for the foreseeable future - not even the concept of a replacement exists. It is also under active development.
- The reason for the automatic commit is that a dbms_scheduler job is a full database object like a stored procedure or a table. So a call to dbms_scheduler.create_job is like executing a DDL which takes effect immediately. A dbms_job job is mostly just a row in a table so a call to dbms_job.submit behaves like regular DML. There are many advantages to a job being a full database object but DDL behaviour is an unfortunate requirement of this.
Hope this clears a few things up, reply with any questions.
-Ravi -
Sirs,
I'm trying to print from wirelessy from my MacBook Pro (OS X Mountain Lion) to a P1102w printer without success.
The error message is:
W [16/Aug/2012:08:47:51 -0300] HP_LaserJet_Professional_P1102w: Printer supports Create-Job but not Send-Document operation.W [16/Aug/2012:08:47:51 -0300] HP_LaserJet_Professional_P1102w: Printer supports Create-Job but not Send-Document operation.
The Printer Firmware is 20120130 (HP last version)
Any hints?
Regards
CamiloIt doesn't share the printer and the Mac can't print
-
Hi,
I like to create job using Scheduler Jobs > Create Job with Command Type Stored Procedure! But the problem is that I can't see (user sys) procedures on schema i wish to create job on! So i can't pick procedure from Search and Select: Procedure values!?
Is someone know what is the problem?
Thanks, KristjanOK. It is a "Package" and not a Procedure like you mentioned above.
So, you have to do a different thing from a normal stored procedure. What you need is to use a Command Type of PLSQL Block
Assuming the Package TEST_PACLAGE with PACKAGE BODY containing procedure TEST_PROC and is owned by user SYS.
Select SYS as the owner under General
Inside the PL/SQL box enter.
BEGIN
test_package.test_proc;
END;
This should work -
Creat Job for LSMW (periodical data transfer)- idoc BLAORD
Hi,
We are trying to create job for LSMW (thru frame program for periodic data transfer) for idoc BLAORD (Purchasing contract)
When I am running the job that I created, the job is cancelled and the error is:
"Upload from front-end is not possible in batch mode.
Message no. /SAPDMC/LSMW_OBJ_070 020"
How can I correct that? so I will be able to run a job (the job mast run background?)
Thanks,
Tal SassonHello,
I was also receiving the same message /SAPDMC/LSMW_OBJ_070 020 even though I specified in /SAPDMC/SAP_LSMW_INTERFACE the server path. The problem was that in LSMW->Specify Files you have to delete the definition of front-end files and define application server files.
That Flag File (Path and Name) (field /SAPDMC/LSOINP-FILENAME in program /SAPDMC/SAP_LSMW_INTERFACE) is kind of useless since it is ignored anyway and files defined in LSMW object are imported and they have to be read anyway if you use more than one file.
Regards,
Peter
Maybe you are looking for
-
HP Officejet Pro 8500 wireless uninstalls after every shutdown
I have had nothing but problems with my fairly new 8500 since updating the operating system from vista to windows 7. I have had all of those scanner problems (another thread), have had to reinstall for various reasons, lost hp solutions many times,
-
Problem with cineon converter in CS5.5?
I was wondering if anyone has encountered this problem when going from log to lin and back to log in CS 5.5. As a test, I import a 10-bit log cin or dpx file into CS 5.5 and apply 2 instances of the Cineon Converter effect with the following settings
-
Hi, I need to create 4 windows, each windows must go in the next page when the window is full (he continu the next text in the window in the next page). How can i do that? just the main window continue the text in the main window at the next page? Ho
-
Troubles with the sleeper: how can I avoid it restarting on its own?
When on sleeper, my MacPro early 2008 restarts on its own after a while. Until very recently, it worked perfectly well.
-
I have the options in my International - Input Menu to show the character palette in the menubar. However, when I click on it nothing happens. I have tried all the suggestions I have found on these forums to make it appear, but nothing has worked. (W