SQL Agent not running Script in Package which calls an Excel containing Macro
I have a script task in SSIS package which calls Excel VBA file containing Macro, this file is on the local drive, when I run this package through SSDT the package works ok and the macro does what it needs to. However when I set up a
sql agent job to call the package then it fails at the Script task. I have created a credentials and proxy user as my self so I should Have full rights.
But it fails through the job and not through SSDT, can you advise ?
Hi Asad,
Since the error message “Script Task Run Excel: Error: Exception has been thrown by the target of an invocation” is too generic, we should find a way to return full error details from SQL Server Agent job. Firstly, configure logging for the steps you wish
to keep log data for. Secondly, create a stored procedure to return details of the step at which a job failed based on the job name. Finally, execute the stored procedure. For more details, please refer to the following blog:
http://www.sqlservercentral.com/articles/SQL+Server+Agent/67726/
In addition, the following similar two threads are for your references:
http://sornanara.blogspot.jp/2014/04/code-0x00000001-exception-has-been.html
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4a20219e-4a90-41be-acfe-b8846dc2c38a/error-while-executing-a-ssis-package-which-contains-a-script-task-through-sql-server-agent-job?forum=sqlintegrationservices
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
How to pass parameters to sql agent job run configured ssis package
Hi all,
I have a big problem at my small project.
I build my SSIS package that get its variables values from a configuration file..
and when i build a SQL agent job to run this package in a schedule i set the values of variables in it .. but in run-time the package still get its parameters from the configuration file !??
any help please ?>SQL agent job to run this package in a schedule i set the values of variables in it
One way, setup a configuration table for the package. Let the package read the values for the variables from there.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Hi all,
i had database of 9.2.0.1 on windows xp. i am trying to configure EM using OMS. while discovering nodes i am getting error saying intelligent agent not running.
i tried to start that using "agentctl start" but its saying "could not able to contact agent". when i checked in google its saying to have a snmpagent role should be there in dba_roles which i dont have. i even dont have dbsnmp user, for that i executed catsnmp.sql script. now i am having user but no role.
also when i tried to start the service of agent from services of control panel its saying "service is started and stopped on local computer some services will stop automatically if they had no work to do"
what i need to do for getting my agent started and making discovering of nodes?
Thanks in advance for the help
Message was edited by:
pavan kumarI am having the same problem. I am unable to see the databases in OEM.
-
Can generate the TKPROF file without the SQL is not running completed ?
Dear all:
I want to generate the TKPROF file from the trace file, Can generate the TKPROF file without the SQL is not running completed ? Is it the TKPROF file can be used? because the report is too large. My environment is ORACLE 11.5.9
Regards
TerryWhen you can wait for completion, then that's the easiest route.
When you can't wait, you'll have to use a different method. I suggest to watch the v$ views for what your session is doing. Views like v$session, v$session_wait, v$sess_io and the views starting with v$sql. Also worth mentioning is Tanel Poder's site, which contains some very useful scripts for diagnosing performance problems this way: http://tech.e2sn.com/.
Regards,
Rob. -
I am currently working on a SQL Server upgrade project for a a client where I am converting old dts packages to SSIS. However for a few of the packages no conversion is allowed to be done. For these few packages I have to use dts legacy components in SQL
2005 on a windows 2003 server to run them.
These packages use CAPICOM via an Active X script in the package to envelope connection string data for security within the package. Consequently I have to register the capicom.dll for the job owner (which will execute the job via proxy) and install private
and public key files via internet explorer. I also do this when I am logged in with my account so i can test the package.
I have created a SQL Server Agent Job which is used to execute the package. We have a schedule account which is local admin on the server and sysadmin within SQL Server. This account is used to create a credential and then a proxy for the CmdExec subsystem
is then created based on this credential. A CmdExec job step is then added to the job. The directory of cmd file which calls the dts package is then entered in the command window.
Finally a recurring schedule is added to execute the job every 5 minutes.
If i am logged in to the server using the scheduled account the schedule runs successfully. I am also able to run the command file manually by double clicking on it. The DTS package is run successfully. However once the schedule is set up and I log off the
machine and log onto my development machine with my normal account and fire up SQL Server. I connect to that instance with the schedule and see that the job is failing with and Active X error in the package. From experience with this package this Active
X error occurs when the user executing the package has not registered the capicom.dll. This has already been done for the scheduler account because the job runs when the scheduler account is logged in on the server.
It almost seems as though the job will only run if the Scheduler account is logged on. If i log directly on to the server with own user account I am able to manually execute the package via the cmd file which indicates that the capciom.dll is registered
under my account. Yet if I try an run the job in SQL Server when I am logged in under my account (using the scheduler account proxy) then the job fails.
Does anybody have any idea why this may be happening? Any ideas would be much appreciatedRun the job SSIS step under a proxy account that is derived from the domain account, non-expiring password and has been set to have all the necessary rights.
How to is here: http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/
Arthur
MyBlog
Twitter -
SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails
Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services.
It requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?Hi,
SQL Server 2005 standard edition.
I have a SSIS package which has a Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
Code: 0xC0012024 Source: Analysis Services Processing Task Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It
requires a higher level edition.
This is the result of select @@version
Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86) Nov 24 2008 13:01:59 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
Any idea?
Anyway, I have found a work around:
http://technet.microsoft.com/en-us/library/ff929186.aspx -
Cron job not running - script uses rsync, ssh (with id_rsa)
Does anyone know how to get cron to run a rsync/ssh script which uses id_rsa for passwordless logins?
I have a backup script I have slaved for months over that works wonderfully when running it from the command line.
It uses rsync and connects with SSH (passwordless using ssh keys). I have setup id_rsa and id_rsa.pub for passwordless logins (this is my user account, and connects using root@ to the server)
As stated all works find when run from the command line. But when I setup a cron job to run this file (exact same line I run from the command line) it does not execute. Actually, it does run, as I have an email notifiction which sends to me. It is just the rsync/ssh part that does not run.
I have spent days and days trying to figure it out. No error messages occur, nothing. Took me a while to find out cron is emailing the user account on Lion the messages (not to a proper email address).
The error shows a permission denied, which I believe to be the cron user cannot use the id_rsa/ssh connection.
Cron is running the script as my user, the same I use on the command line. I even tried copying the id_rsa to the root user .ssh folder in case cron is running as root but that does not work either.
So does anyone know how to get cron to run this rsync/ssh script which used id_rsa for passwordless logins?
Thanks a lotYES! Got it working, finally!
So the issue is indeed cron/launchd not being able to access the ssh-agent which holds the key.
So this is the solution...
Download keychain for Mac:
http://www.funtoo.org/wiki/Keychain
Then once its installed and configured, the script to run needs this added to the top:
eval `keychain --noask --eval id_rsa` || exit 1
Note I am using id_rsa whereas keychains instructions refer to id_dsa so I just changed it and it works OK.
When the script runs the first time it asks for the key password. Then it works from then on.
What I do not know yet is will I need to re-enter the password when I logoff/logon again. That will cause an issue as I auto restart the Mac every day which means if I am off for a few days backup will stop (can you see the madness in this issue!). -
How to Create a SQL Agent Job For A SSIS Package with Sql Server Authentication
Hi ALl,
I have a SSIS package which basically has a data flow task in which i pull the data from one server and copy it into another server and my source server is the one where i dont have windows authentication and i have to only use a sql server authentication
. This package runs fine if i click the server connection properties type the password and save it.
Now, my task is to set up a sql agent job which basically uses a proxy account and takes this package from the file system and runs it.But when i try to run this package, its failing with an error saying
"Login Failed For rpt5user" where rpt5user is the username for my sql server authentication of the source connection.
Can someone please help me with any suggestions on how to do this?
I have heard that we can achieve it by using xml config file which i have never used and i am trying to google around but for no luck.
So, If someone can please throw any suggestions or ideas on this it would be great.
ThanksYou need to add password as a config item and set it from the file source or sql table
see this as an example
http://blogs.msdn.com/b/runeetv/archive/2009/12/22/ssis-package-using-sql-authentication-and-dontsavesensitive-as-protectionlevel.aspx
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Data Manager not running scripts
Dear Experts,
I've followed one of the "How to pass parameters to BPC scripts" guide and created a Process Chain to run scripts. The whole thing didn't go as smooth as expected and I'm not sure which part went wrong.
As I'm having trouble validating the complex version of codes. I wrote something very simple instead like
*XDIM_MEMBERSET AcctDetail=Non_AcctDetailInput
*WHEN ACCOUNTPLAN
*IS "SSVV060"
*REC(EXPRESSION=%VALUE%,P_DataSrc="INPUT")
*ENDWHEN
*COMMIT
I ran the package, the package should trigger the process chain. but it never showed itself in the package status like it's never ran once at all.
I'm posting my script problem on another thread.
anyone has an idea? Thanks a million...
, Jim HsuPlease check your task profile....
Make sure you have all task profile related to data manager....do let us know if youstill face this problem -
SMS client service not running - cant find package to install in TS
I am running into some problems with getting a completed TS, the majority completes until I get to the point of installing the Lenovo Driver Applications.
I have set them up as a package, which runs a .vbs
This worked fine from SCCM 2007
I get error stating that the content cannot be found, and there as a failure that the SMS Client Service is not running.
Task sequence looks like this
The sms client service is not running. InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
TS::Utility::GetCcmExecPid(dwServerPid), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\installsoftware.cpp,826) InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
IsServerConnected(bConnected), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\installsoftware.cpp,891) InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
WaitforJobCompletion(spExecReqMgr), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\installsoftware.cpp,796) InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\CA10008D InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
reference count 1 for the source C:\_SMSTaskSequence\Packages\CA10008D before releasing InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
Released the resolved source C:\_SMSTaskSequence\Packages\CA10008D InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
pInstall->Install(sPackageID, sProgramName), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361) InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
Install Software failed, hr=0x87d00215 InstallSoftware 1/29/14 2:22:31 PM 2484 (0x09B4)
Process completed with exit code 2278556181 TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
!--------------------------------------------------------------------------------------------! TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Failed to run the action: Install T510 Apps.
Item not found (Error: 87D00215; Source: CCM) TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
MP server http://CA1AP03P.CAMECO.COM. Ports 80,443. CRL=false. TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Setting authenticator TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Set authenticator in transport TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Sending StatusMessage TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Setting message signatures. TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
Setting the authenticator. TSManager 1/29/14 2:22:31 PM 1864 (0x0748)
CLibSMSMessageWinHttpTransport::Send: URL: CA1AP03P.CAMECO.COM:80 CCM_POST /ccm_system/request TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Request was succesful. TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Set a global environment variable _SMSTSLastActionRetCode=-2016411115 TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Clear local default environment TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Let the parent group (Install Device Applications) decides whether to continue execution TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Let the parent group (Setup Operating System and Applications) decide whether to continue execution TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
The execution of the group (Setup Operating System and Applications) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows) TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Failed to run the last action: Install T510 Apps. Execution of task sequence failed.
Item not found (Error: 87D00215; Source: CCM) TSManager 1/29/14 2:22:32 PM 1864 (0x0748)
Full SMSTS.Log located here
https://skydrive.live.com/redir?resid=DF018345C62C41DB!114&authkey=!ACpUtQ2EN51FNAk&ithint=file%2c.log
The .vbs for installing all these applications looks like this, I would love to get away from having this setup this way, but it was setup to the guy before me and I am very new to the SCCM world.
set oShell= CreateObject("Wscript.Shell")
set oEnv = oShell.Environment("PROCESS")
oEnv("SEE_MASK_NOZONECHECKS") = 1
'Copy all drivers to the local driver folder
set filesys=CreateObject("Scripting.FileSystemObject")
If filesys.FolderExists(".\HPROTECT") Then
filesys.CopyFolder ".\HPROTECT", "c:\drivers\HPROTECT",True
End If
If filesys.FolderExists(".\PWRMGR") Then
filesys.CopyFolder ".\PWRMGR", "c:\drivers\PWRMGR",True
End If
If filesys.FolderExists(".\Hotkey") Then
filesys.CopyFolder ".\Hotkey", "c:\drivers\Hotkey",True
End If
If filesys.FolderExists(".\video") Then
filesys.CopyFolder ".\video", "c:\drivers\video",True
End If
If filesys.FolderExists(".\fingerpr") Then
filesys.CopyFolder ".\fingerpr", "c:\drivers\fingerpr",True
End If
If filesys.FolderExists(".\rapidbt") Then
filesys.CopyFolder ".\rapidbt", "c:\drivers\rapidbt",True
End If
If filesys.FolderExists(".\commutil") Then
filesys.CopyFolder ".\commutil", "c:\drivers\commutil",True
End If
'Install Drivers from local drive
'T530-win7
oShell.Run "c:\drivers\video\setup.exe -S",0,True
oShell.Run "c:\drivers\Fingerpr\setup.msi /q /norestart",0,True
oShell.Run "c:\drivers\HPROTECT\setup.exe -s -v""/qn REBOOT=ReallySuppress""",0,True
oShell.Run "c:\drivers\rapidbt\setup64.exe /s /v""/qn REBOOT=ReallySuppress""",0,True
oShell.Run "c:\drivers\Hotkey\setup.exe /S",0,True
oShell.Run "c:\drivers\PWRMGR\setup.exe /s",0,True
oShell.Run "c:\drivers\commutil\setup.exe /SP- /VERYSILENT /NORESTART /SUPPRESSMSGBOXES",0,True
oEnv.Remove("SEE_MASK_NOZONECHECKS")Have you changed or modified anything at all since migrating the TS? Have you verified that your
Setup Windows and ConfigMgr step is pointing to the
Configuration Manager Client Package rather than to an old package reference to the SCCM 2007 client?
You might also make sure the applications are installing in OS mode rather than PE mode, but I doubt that is the case.
You might try manually setting a management point in the Configuration Manager install portion. Example: SMSMP=ManagementPoint.contoso.com (yes, use the full FQDN). If I recall that fixed an issue I was having with a client due to the device
trying to reach the test server because they did not isolate it on a separate network. -
Distribution agent not running
Hello All,
One distribution agent is not running continuously. The SQL job is scheduled to run when 'Start automatically when SQL Server Agent starts'. It was running fine but now the status in replication
monitor shows Not running. I manually selected Start Synchronizing and it runs just for a few seconds and replicates transations but then goes back to Not Running status.
Can someone please help me?
Thanks,Add the -Continuous parameter to the end of your job step if it is not already there.
Then start your agent.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
Enterprise manager agent not running
Hi all,
Oracle 11g
Windows 2008
I just installed two databases on the same server. The one's EM is running fime no prob. The other, the EM doesn't want to open completely it says: Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
And the database is open, I can run sql queries against the DB, but EM says it's down, the listener is up and the Agent connectio to database is down?
Have anyone ever encounterd this?This is wierd there is nothing in the logs and when I status the agent in sqlplus:
D:\oracle\product\11.1.0\db_1\BIN>emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.3.0
OMS Version : 10.2.0.3.0
Protocol Version : 10.2.0.2.0
Agent Home : D:\oracle\product\11.1.0\db_1\SZAJHBODW01.zacca.af.lafarg
et_PRODSW01
Agent binaries : D:\oracle\product\11.1.0\db_1
Agent Process ID : 2164
Agent URL : https://SZAJHBODW01.zacca.af.lafarge.net:3938/emd/main
Repository URL : https://SZAJHBODW01.zacca.af.lafarge.net:1158/em/upload/
Started at : 2009-11-12 11:40:26
Started by user : SYSTEM
Last Reload : 2009-11-12 11:54:10
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 263
Size of XML files pending upload(MB) : 22.90
Available disk space on upload filesystem : 79.52%
Data channel upload directory : D:/oracle/product/11.1.0/db_1/
JHBODW01.zacca.af.lafarge.net_PRODSW01/sysman/recv
Last attempted heartbeat to OMS : 2009-11-12 12:04:00
Last successful heartbeat to OMS : unknown
Agent is Running and Ready
but the limited console says the agent is down, and the database is down?? -
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 8.1.5.0.0 -
Production
Start Date 14-SEP-99 19:06:21
Uptime 0 days 16 hr. 9 min. 20 sec
Trace Level off
Security OFF
SNMP OFF !!!!!!!!!!!
SNMP-Status is OFF.
I am using Oracle 8.1.5.0 and Red Hat 6.0/i386 .
What am i missing?
Thanks all in advance.
nullYuri (guest) wrote:
: Awgustow (guest) wrote:
: : LSNRCTL> dbsnmp_start
: : LSNRCTL> dbsnmp_status
: : The db subagent is not started.
: : LSNRCTL> status
: : Uptime 0 days
: : Trace Level off
: : Security OFF
: : SNMP OFF
: : Awgustow
: Agent works as follows: it starts up, looks in /etc/oratab for
: databases to manage, tries to establish connection to all of
: them, starts to listen for incoming requests on port 1748. The
: problem can be on any of these steps.
: Try to check with ps -ef | grep dbsnmp if agent processes are
: running (there should be 2 with same name - dbsnmp).
: If yes, try netstat -an | grep 1748 to check if they're
listening
: on TCP port. If they're listening, tracing the agent may help
you
: , though most likely you've hit some bug or config problem -
add
: nmi.trace_level = <level> (0 - off, 16 - maximum)
: nmi.trace_directory = <your directory for trace files>
: nmi.trace_file = <trace file name, e.g. agent
: and then kill agent with killall dbsnmp, start it again and try
: lsnrctl dbsnmp_status. It should generate trace file (but
: startup only trace on 16 level is >50K :-).
: If agent processes are running, but not listening on TCP port,
: most probably agent is not able to connect to one of your
: databases. (BTW, tracing will be of little use in this
situation
: - too cryptic to decipher. You probably will be able to get
: what database is causing problems, by looking at packet dump
: generated at 16th level). Make sure /etc/oratab is OK (lists
only
: valid SID) and that tnsnames.ora has entries for all databases
: mentioned in /etc/oratab.
: On Linux 8.1.5 agent cannot connect to 8.0.5 databases on same
: machine (generally, none of 8.1.5 tools like sqlplus can
connect
: to 8.0.5 on Linux DB). If you have both 8.0.5 and 8.1.5, you
: should comment out 8.0.5 entries in /etc/oratab in order to
start
: the agent. Not very useful, ehe? This is a bug, but no patch is
: yet available.
: If agent processes are not running after dbsnmp_start, again
: tracing should help locate the problem, together with log files
: in $ORACLE_HOME/network/log.
: Write what are your results.
: Yuri
Hi.
The problem was new version of TCL (8.0.4).
Problem solution is use from TCL 7.5.
Regards
Awgustow
Oracle Intelligent Agent
The Oracle Intelligent Agent requires TCL package,
release 7.5.
Follow these instructions to build Oracle
Intelligent Agent
executables.
1. Download the TCL 7.5 sources(tcl7.5.tar.Z)
from:
ftp://ftp.scriptics/com/pub/tcl/tcl7_5/
2. Extract the source in a separate directory and
configure:
$ mkdir tcl
$ cd tcl
$ compress -d tcl7.5.tar.Z
$ tar xvf tcl7.5.tar
$ cd tcl7.5/unix
$ ./configure --enable-gcc
3. Edit the source file tclPosixStr.c:
$ cd ../generic
$ mv tclPosixStr.c tclPosixStr.c.ORIG
cp tclPosixStr.c.ORIG tclPosixStr.c
by commenting the following set of lines:
120 through 122
327 through 329
566 through 568
774 through 776
4. Build the TCL 7.5 library:
$ cd ../unix
$ gmake
5. Install TCL 7.5 in /usr/local, make sure
/usr/local exists and
is writable:
$ su
# gmake install
# exit
6. Set the environment variable ORALE_HOME to the
location where
Oracle8i was installed:
$ export
ORACLE_HOME=<location_where_8i_was_installed>
7. Copy the new TCL library to ORACLE_HOME and
build the
executables:
$ cp libtcl7.5.a $ORACLE_HOME/network/lib
$ cd $ORACLE_HOME/network/lib
$ ln -s libtcl7.5.a libtcl.a
$ gmake -f ins_oemagent.mk agent
null -
Run Script Logic/Package from a different Application
Hi Experts,
I have a scenario here that I need to run a package from a different application. For example, I'm in Finance application and I need to run a package which is in the LegalApp application, is it possible to call that package or perhaps run the logic it was calling without having switch back to LegalApp.
Thanks,
MarvinTo run a package that runs logic on another application, you could copy a package such as "Default Formulas" and put the name of the target application in the new package's name. Then go to Modify Package --> Advanced. Edit the package to set the application as below. The LegalApp (for example) is set on the third Task command. Default logic is called on fifth.
PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
PROMPT(SELECTINPUT,,,,%CATEGORY_DIM%%ENTITY_DIM%%TIME_DIM%)
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,LegalApp)
TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
TASK(Execute formulas,LOGICFILE,)
TASK(Execute formulas,CHECKLCK,%CHECKLCK%) -
hi i have a bach file run .bat
this is in network \\dc\data
but wen run this file of this way , not run
i must map this way and run it to correct
now i create setup.bat and it whole
======
net use t: \\ dc\data
t:
call run .bat
====
when run setup.bat, map t, and run corect
now i create a policy and in script shutdown place the file setup.bat
but when shutdown pc,the shut down is very time and script not run
of corce a later 6 moon befor update windows , this policy work ok
ploease help meno body to help me
Maybe you are looking for
-
Problem with pool in WLS5.1 SP10 JDK1.2.2_07
Hello! When the free connections of a pool to a db of Oracle (driver oci8) it?s occupied, the request of the customer occupied the queues of the threads until all threads wait to some connection was liberated but doesn?t liberated because the pool ha
-
Using an IRC Library, I can't get it to play with the Form at all!
I'm having a problem getting my IRC Client to work. I normally don't use winforms or WPF, I chose WinForms because it was slightly easier to work with, I'm not new to threading, but I have no idea how this works. Problem: When I start the application
-
HT4623 How do I upload my photos on my iPhone 3GS to iPhoto on my MacBook Pro
How do I upload my photos I took on my iPhone 3GS to iPhoto on my MacBook Pro 2012. I operate OS X 10.8.3 and have iOS6.1.3 installed on my iPhone.
-
Everytime I try to print/order a book i have created in iPhoto, it closes after the 3rd page loads and wont complete. Any ideas on what I can do??? Thanks
-
CS4:Mac:Debug Version:Localization Issue
Hi Folks, I converted a plugin from CS3 to CS4 and testing it under debug version, I'm getting an assert during the launch of the plugin, it says: "LocaleIndex resource in plugin kMypluginID of type 'PMST' points to bogus resource for locale 256, Eng