Execute in background, selecting target server
Hi Gurus,
System with DB-server and one applicationserver. for TC ZDOP, we increased Extendmemory on applicationserver only.
With F9 - execute in background, there is no choice to select the targetserver - like in SM36 for jobscheduling.
Is thare a global setting to enable this feature, or depends this from tranaction ?
Thanks in advance for any help
Kind regards Thomas
Hi,
You can do the following:
1. Make sure that you are logged onto to the app server where you want to execute the job.
or
2. Create a background server group in SM61 and ask your developer to make the job to run on that particular server group
Please refer foll thread for details:
Ref: Force the execution in background in an specific server
Regards,
Varun
Similar Messages
-
How to restrict user at selection screen while executing in background mode
hi all,
how to restrict user at selection screen while executing in background mode
Regards
DeepakHi,
We can get the Program whether this is running in background or not then we need to use SY-BATCH, if the SY-BATCH is set to X then the program is running in Background,
so in the INITIALIZATION event, you can use this SY-BATCH and check the User names, and give the error messsage which you want to restrict
Regards
Sudheer -
SM37 - executing server different from target server
Hello Everybody,
Most of our jobs are scheduled to run on a unique target server,
but when i occasionally check all the finished job report on sm37 i find that -
small amount of jobs finally ran on executing server which is different from the specified targer server.
we are not facing any resources issues,
so may anyone know how to analyse it? and what are the possible reasons this problem may occur?
have a nice day.I think that's an issue for SAP via OSS. Have you checked for notes yet? I do see several notes that apply but mostly for releases 6.4 and earlier. I don't know of a system profile parameter that would allow that setting to be overridden but that doesn't mean that there isn't one...
-
Issue in Foreground Report executing as background
I have developed a Report in ABAP which has a selection screen and 2 radiobuttons
Foreground
Background
The report basically reads a TXT file from Desktop and calls a standard BAPI.
In foreground, I have no issues i.e. I browse the call from desktop and call GUI_UPLOAD and so on
However, in background, I am confused how to proceed??
Please note: Report is still running in foreground mode i.e. i am browsing the file. Its just that i have selected background Radiobutton
Can anyone tell me how to proceed i.e. to execute in background.
Do I need to submit the same program via JOB_OPEN JOB_CLOSE in background and then exit??
Please adviceHi Razdan,
If want to schedule the background job through the program, then you can try method explained in below links. Here you might have to create a separate program to submit.
https://help.sap.com/abapdocu_70/en/ABAPSUBMIT_VIA_JOB.htm
http://scn.sap.com/thread/590077
Another approach would be like below
Add an additional field apart from the radio button, say “ip_file” in the selection screen. This you can show while selecting the radio button “background”
Suppose if you have updated the file in app. Server(AL11 ) , in a location , say ( “home/myfile/test.txt” ) .
Save a variant with the radio button “background” selected and input field ip_file value as “home/myfile/test.txt”.
Now from the SM36 you can schedule the background job to run the report with the same variant.
Please note that , here you need to upload the file separately to app. Server using , tcode - CG3Z or any other FM. And in the program you can use open dataset to access the file in the app. Server. -
Hi,
I got this error below when i try to deploy my ejb.It's happen when i select the
targets-server in weblogic console. Can anyone help me please?
Thank you in advance.
Sukanya
java.lang.reflect.InvocationTargetException: javax.management.RuntimeOperationsException:
RuntimeException thrown by the invoke method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy10.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy76.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred while updating
Targets-Server on Proxy for mydomain:Application=Wallet,Name=wallet-ejb,Type=EJBComponent
- with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
method of the Dynamic MBean]]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)Hi Sukanya,
Could you please tell me how u solved this error?
I am also getting the same error!!!
Sherry. -
Executing SSIS packages through SQL Server Jobs.
Hi,
I have an SSIS package which generates xml and text files and ftps it to an ftp site. When i run the package from BIDS it works successfully but when i run it from a job it fails. My SSIS package connects to DB server A and though i'm creating a job on DB
server A but my folder structure and the package resides in server B from where i'm connecting to DB server A through Management Studio. I'm using File system in SQL server Agent Job to call the package. When i execute the job i get following error:
Executed as user: I\A. ...er Execute Package Utility Version 9.00.3042.00 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 5:08:05 PM Error: 2011-06-21 17:08:05.11
Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted. End Error Error: 2011-06-21 17:08:05.11 Description:
Failed to open package file "E:\P\H\R\Tools\R\R\R.dtsx" due to error 0x80070003 "The system cannot find the path specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the
result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has . The step failed.
Could you please tell me where am i going wrong?
Thanks,
Deepti
DeeptiHi Christa Kurschat,
I'm running the job under proxy account. And that account has sysadmin permissions.
I used following script to create proxy account and run my package under that account:
I. Create job executor account
Highlight Security->New Login, say to make login as devlogin, type your password, default database can be your target database.
Server roles: check �sysadmin�
User mapping: your target database
Msdb database: you make sure to include
SQLAgentUserRole, SQLAgentReaderRole, SQLAgentOperatorRole
Then click OK
II. Create SQL proxy account and associate proxy account with job executor account
Here is the code and run it the query window.
Use master
CREATE CREDENTIAL [MyCredential] WITH IDENTITY = 'yourdomain\myWindowAccount', secret = 'WindowLoginPassword'
Use msdb
Sp_add_proxy @proxy_name='MyProxy', @credential_name='MyCredential'
Sp_grant_login_to_proxy @login_name=' devlogin', @proxy_name='MyProxy'
Sp_grant_proxy_to_subsystem @proxy_name='MyProxy', @subsystem_name='SSIS'
III. Create SSIS package
In MS SQL Server Business Intelligence Development Studio, you use job executor account devlogin to create the SSIS package (DTS) and make sure you can execute this package
in SQL Server Business Intelligence Development Studio. Compile/build this package.
IV. Create the job, schedule the job and run the job
In SQL Server Management Studio, highlight SQL Server Agent -> Start. Highlight Job ->New Job�, name it , myJob.
Under Steps, New Step, name it, Step1,
Type: SQL Server Integration Service Package
Run as: myProxy
Package source: File System
Browse to select your package file xxx.dtsx
Click Ok
Schedule your job and enable it
I followed these steps.
Thanks,
Deepti
Deepti -
File not creating in AL11 wen executing in Background
Hi,
I have written code to upload some data to Appln server(AL11). When i execute in foreground, file is creating. But wen i execute in background, i couldnt find that file in the path which i have given.
Since we cant debug the program in Background, i dont know whether OPEN DATASET returns SUBRC = 0 or not. I even checked with the Path thr AL11. The same path is accessible too..
Plz help me out for this.
Thanks,
RameshRamesh,
You can debug a background job.
go to sm37 and select the job and type /JDBG in the command prompt.
search in sdn on how to debug a background job
Thanks
Bala Duvvuri -
Removing the "target server" from process chain jobs
Dear SAP Community,
Please note we are on BW version 3.5
We have a very large number of process chains that are used to load data in the production environment. Many of those process chains have a "target server" specified, so that the jobs will run only on the central instance.
A new application server has just been added to the environment, and we want to remove the "target server" definition so that the dispatcher will be free to load balance the process chain jobs.
We can see the attributes for each process chain are stored in a table called RSPCCHAINATTR.
Please let me know: can we update the value of field SERVER in table RSPCCHAINATTR, to set it to blank using SQL-PLUS ?
And then can we run a /$sync to bring these changes up into the application layer ?
This would save tons of time & manual effort, and it would set the target server to blank for all of the process chains at once, instead of clicking manually so many times to clear the value for each process chain.
Please let me know if we can take this approach ? Is there any chance of the process chains becoming inactive by doing this ?
We want to set the "target server" = blank in all cases, instead of manually clicking into each and every process chain.
Please let me know, thanks.
Keith Helfrich
Edited by: Keith Helfrich on Aug 17, 2010 11:45 AMCheck tcode RSBATCH, If I'm not wrong all process types are assigned to central server. Remove that server name and save.
Now, If u execute process chain, system will prompt you assign server/host name. To skip this follow the below.
Again use RSBATCH, under 'Background and Parallel Processes' tab, click 'Switch Off F4 Popup for Server/Host/Group', enter * (star) under Users for 'Users for Whom NO Server/Host/Group Popup Should be Processed'.
Now, If u execute process chain, it should run on either of servers.
Since u added Appln Server, best bet would be creating a server group. See the below link.
How to run Process Chain jobs WITHOUT a target server -
Report is executing in background and need data(output) in excel format
Report is executing in background and need data(output) to get downloaded in excel format in my PC from an internal table;;in any drive i.e. C: or D: .When executing in backround it prompt to user with which location excel file to be saved and the name of file.How to download in background in excel format?
Edited by: PRASHANT BHATNAGAR on Aug 26, 2008 6:24 AMHi
Download a report to excel with format (border, color cell, etc)
Try this program...it may help you to change the font ..etc.
Code:
REPORT ZSIRI NO STANDARD PAGE HEADING.
this report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL USING I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
Regards
Murali Papana -
F.28 error while executing in background
Hi All,
F.28 -Reset Credit Limit, while executing in Background it is showing an error message Internal Error with Background job Scheduling. can any one helpme in this case what is that internal error.
Regards
HarshaHi
Credit Control Basics
There are only three places where a credit check can occuru2014the sales order, the delivery,
and at goods issue.
The system executes the credit check on the sales order or delivery based on the
configuration settings. If the credit check fails, the system then either stops the user from
saving the document, or it allows the document to be saved but it blocks the document with
a credit block.
Documents blocked for credit must be released by an authorized person before they can
be processed further. For example, a delivery for an order cannot be created if the order has
a credit block on it.
You can view documents blocked for credit by selecting Logistics | Sales and
Distribution | Credit Management | Sales and Distribution Documents | All (transaction
code VKM3). You can also use this transaction to release a blocked document.
Once a document is released, you can continue processing it even though the credit
limit check failed.
Every time a user changes a sales document, the credit limit check is executed again.
For example, if a document was released with a value of $10,000, and the value is changed to
$11,000 and the customer is still over his limit, the document will be blocked for credit again.
This is because the new value exceeds the released value.
You can use program RVKRED08 to recheck all documents blocked for credit. For example,
if a customer pays his account, you want to recheck all his documents. Some documents can
now be released because of the payment received. It is a good idea to schedule a background
job using this program so that blocked documents are checked on a regular basis. This will
keep the blocked documents up to date with any changes to the account or to sales documents,
such as a payment being made. If a large sales order that was holding up the credit limit is
cancelled, other blocked documents can use the value that is freed up by the cancellation.
Regards from Pakistan -
Unable to use the Freescale M5329EVB target server
Hi everybody,
I have created a new target on Labview embedded which is based on the Freescale M5329EVB example. The target is a powerpc from Xilinx and it runs a linux on it.
What I want to do is to use the "target server" from the Freescale example. I copied all LEP_plugin VIs of this target example and modified them to work with my target.
According to the porting guide, the target server needs a TCP connection, Telnet server and a TFTP client. I implement all of this on my embedded linux and test them. I can connect through telnet and get files through tftp from my linux host.
When I click on the "Download" command, the target starts, connects to the target through telnet and then tries to connect with TFTP. The problem is with the last one, it puts me a message "Awaiting target connection on port 69 ..." but it never connects.
I tried to look to the target server VI's but its quite difficult to understand. The problem seems to be located in EMB_Utility_TFTPD_Listen.vi at the UDP_Read function.
Also, when I netstat my windows, the tftp service is started, so port 69 seems to be opened. Netstat on my target tells me that my windows host is connected to it. The windows firewall is also disactivated.
If anyone has an idea on what's going wrong ...,
Thanks for your help,
François
Attachments:
pblm target server.JPG 30 KBHi, sorry for being long to answer.
I have two problems, one for the target server and the other for the debug mode.
In release mode, the executable downloads well and the execution is
good. The error "failed to execute program" comes from
"TargetServer_GetFileSize.vi". The "Match Pattern" box doesn't give the
right information (please see CheckFileSize.JPG). The problem seems to
come from the "file size regex" wire.
Then, if I skip the "checkfilesize" step, the program tries to connect
to the target, but it gives an other error : "Target not found". I set
breakpoints in the "nitargetStartTCPDebug.vi". The ip address seems
good (it's 10.0.0.213 converted in decimal) (please see
TargetNotFound.JPG and Debug.JPG). I wonder if there's a "HOST_IP" to
set in the compile argument or something else.
The other problem is when I try to compile a program in debug mode and instrumented debugging. It gives many errors :
" C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(Debug.o): In
function `SetDataToControl':
../../CCodeGen/libsrc/comms/Debug.c:496: undefined reference to `SetPictFieldValue'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):
In function `DtToSecs':
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:91: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:92: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:94: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:96: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:98: undefined reference to `PDAClusterGetElemByPos'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:100:
more undefined references to `PDAClusterGetElemByPos' follow
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:676: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextExpStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1145: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextEngStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1271: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `StrPadLeft':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1407: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `StrPadRight':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1431: undefined reference to `StrResize'
collect2: ld returned 1 exit status
I compiled the program with these arguments : -O0 -g -DCStatic
-DUsesTCPDebugger=1 -DTCPUDPSupport=1 -w -I. -DCHeadless=1 -Dlinux
-fno-strict-aliasing -fno-common -fomit-frame-pointer
and the run time librairies with : -DCHeadless=1 -DNoFileSupport
-DSocketSupport=1 -DTCPUDPSupport=1 -DCStatic -DUsesTCPDebugger=1
-D_Include_Scheduler -D_Include_OSScheduler -DPosixFiles=0
-DFileSupport=0 -DDatalogSupport=0 -DPalm5Earlier=0 -Wall -Dlinux
-D_LIB -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wa,-Wa,
-Wno-pointer-sign
Thanks in advance,
françoisp
Attachments:
Debug1.JPG 79 KB
CheckFileSize1.JPG 78 KB
TargetNotFound1.JPG 40 KB -
Hello people,
I have a program that when running on line, the files are saved in a local Folder or in a Folder in the server but when try to execute in Background saving in the same Folders, a error occurs.
Anybody knows what can I do to resolve this problem, please ?
tks
regards
Flavio FerreiraIf you are not scheduling it in Backgroung you can use that FM .
you cannot download to the frontend in a background job simply because the GUI isn't available. You will have to use OPEN DATASET and put the file on the Application server in the background and then use the transaction CG3Y in the foreground to download the file to the pc from the application server.
Rhea.
Edited by: rhea on Nov 27, 2008 3:31 PM -
Hi!
I have a program after 20-30 minutes die for Run Time Exceded.
The program consists in a selection screen and then we call a function. I have thought to call this function in background.
CALL FUNCTION 'ZBAPI_00001' IN BACKGROUND TASK
But the program apparently finish automatically. The result of the program is an idoc but never is created. Is it normal? Maybe the program needs to take some hours to process although we can do other things in this seaseon because it is executing in background? Or probably the program is not working good?
Thx for your comments and advices.
Regardsup message
-
Total Server Memory and Target server memory
Hi All,
SQL server 2005
Installed Memory 63gb
SQL server maximum memory is restricted to 32 gb
Target Server Memory (KB) 33554432
Total Server Memory (KB) 33554432
SQL Server Buffer Manager
Counter Value
Buffer cache hit ratio
5792
Free list stalls/sec
806
Free pages
64040
Lazy writes/sec
423858
Page life expectancy
883
Please let us know above settings means any memory pressure and let us know what be the best practice to avoid memory pressure if there is any.
Regards,
Shiva
Grateful to your time and support. Regards, ShivaHi,
some of the values you posted are no logical. but let's go over the values as you posted one by one:
* page life expectancy: number of seconds a page will stay in the buffer pool without references.
883 seem to be OK, but not very high (more then 14 min)
* Buffer Cache Hit Ratio: Percentage of pages found in the buffer cache without having to read from disk. The ratio is the total number of cache hits divided by the total number of cache lookups over the last few thousand page accesses.
I dont know how you got this value above 100%.
I would suggest to use PERFMON to check the value, or this query:
SELECT (a.cntr_value * 1.0 / b.cntr_value) * 100.0 as BufferCacheHitRatio
FROM sys.dm_os_performance_counters a
JOIN (SELECT cntr_value,OBJECT_NAME
FROM sys.dm_os_performance_counters
WHERE counter_name = 'Buffer cache hit ratio base'
) b ON a.OBJECT_NAME = b.OBJECT_NAME
WHERE a.counter_name = 'Buffer cache hit ratio'
* Free list stalls/sec: frequency with which requests for available database pages are suspended because no buffers are available. Free list stall rates of 3 or 4 per second indicate too little SQL memory available.
806 is extrimly high value, look very bad! It should be around 2
* Lazy writes/sec: tracks how many times a second that the Lazy Writer process is moving dirty pages from the buffer to disk in order to free up buffer space.
423858 is extrimly high value, look very bad! It should be less then 20
** I have a feeling that you do no red the data currectly. Please check this link:
http://www.sqlshack.com/sql-server-memory-performance-metrics-part-5-understanding-lazy-writes-free-list-stallssec-memory-grants-pending/
** Go over this link as well :-)
http://www.grumpyolddba.co.uk/monitoring/Performance Counter Guidance - SQL Server.htm
[Personal Site] [Blog] [Facebook] -
Could not verify the form template on the target server + infopath 2010
I am getting the could not verify the form template on the target server + infopath 2010
warning in the infopath form.
The design checker task pane I see a warning saying "Could not verify the form template on the specified server". I cannot find
anywhere in msdn or google addressing this warning. Inspite of this warning i tried to quick publish the form, and then i get an error saying: "The form template has been published to the server but it can only be opened in the InfoPath Editor because it contains
feature that are not compatible with web browsers, to fix this problem, click close and review the errors in the Design Checker task pane"
Md. TariqHi Tariq,
Please make sure:
SharePoint Server Enterprise Site Collection features site collection feature has been activated.
Go to Form Options > Compatibility > Select the Form type as Web Browser Form.
Try to publish the form to the root site of the site collection as a content type.
If the problem still persists, please check whether there is any binding issue or logical issue. If the problem still cannot be solved, could you please try to create a new form and see how it works?
Here is a similar thread for your refer.
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/2c66bff6-8d83-40da-9fe8-5f064329bde0
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support
Maybe you are looking for
-
Exporting rushes out of FCP onto DVD QUICKLY!
I have a translator waiting for me to export rolls of rushes from FCP 5.1 onto DVD so they can start work. He doesn't need high res pictures - VHS quality would be fine. I can't seem to use Compressor to do it quickly. Any suggestions kind world? I'v
-
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/919957]]</blockquote> So I tried to go to my iGoogle page and it did the same thing. I am certain there is a button to fix this but i swear i do not know where it is? The su
-
Change text for standard button
Hi, Anyone has an idea of how to change the text of a standard button, e.g. the Go button of the advanced search header. TIA Shane
-
Win 7 64, IE 10 , Flash 11.6.602.180 In IE if a web site opens in a new window and uses flash player there is no zoom available. Right click has no zoom options. Also windows zoom using ctrl+mouse wheel only zooms the rest of the page and the image s
-
Route leaking from VRF to Global on same router with VLAN interface
Hi all, I would like to do some route leaking from VRF to Global and Global to VRF on the same router. Here is an output of the config: interface FastEthernet4 description ***Connection to WAN*** ip vrf forwarding FVRF ip address 10.0.0.6 255.255.255