Strange error,execute datamining sample program Sample_AssociationRules
I have installed an Oracle 9i Release 2 database locally in order to test the functionality of the data mining option. when i execute the sample program
Sample_AssociationRules (compile success ),i encounter bellow problem :
E:\oracle\ora92\dm\demo\sample>java Sample_AssociationRules Sample_Global.property
Sample_AssociationRules_Transacional.property
ODM 9.2.0 Sample Program: Sample_AssociationRules
Property Files:
Global: Sample_Global.property
Sample: Sample_AssociationRules_Transactional.property
Start: Mon Dec 02 10:16:49 CST 2002
Initialization Phase:
Data Mining Server:
JDBC URL: jdbc:oracle:thin:@HGS:1521:SALESDB
Username: ODM
Login Phase:
Completed MiningServer login
Cleanup Phase:
Cleanup flag: cleanupBeforeExecution
Data Setup Creation Phase:
m_InputDataSchemaName: ODM_MTR
Received an exception in main: 2NJ} "schema" 5D3$6HN^P'!#8C2NJ}0|:,5DWV7{J}
1XPk=iSZ 1 :M 30 V.<d!#
oracle.dmt.odm.InvalidArgumentException: 2NJ} "schema" 5D3$6HN^P'!#8C2NJ}0|:,5D
WV7{J}1XPk=iSZ 1 :M 30 V.<d!#
at oracle.dmt.odm.internal.StringCheck.checkLength(StringCheck.java:431)
at oracle.dmt.odm.internal.StringCheck.checkSchemaObjectName(StringCheck
.java:188)
at oracle.dmt.odm.Location.<init>(Location.java:76)
at oracle.dmt.odm.LocationAccessData.<init>(LocationAccessData.java:61)
at Sample_AssociationRules.createPhysicalDataSpecification(Sample_Associ
ationRules.java:254)
at Sample_AssociationRules.main(Sample_AssociationRules.java:159)
Logout Phase:
Completed MiningServer logout
End: Mon Dec 02 10:16:57 CST 2002
when i execute other code meet the same problem .i don't know why ,
please help me
I just get the same problem, when I run the samplecode.
I have added the nls_charset12.zip to my classpath, and the problem remains:
Data Setup Creation Phase:
Received an exception in main: 参数 "schema" 的长度无效。该参数包含的字符数
必须介于 1 和 30 之间。
oracle.dmt.odm.InvalidArgumentException: 参数 "schema" 的长度无效。该参数包含的
字符数必须介于 1 和 30 之间。
at oracle.dmt.odm.internal.StringCheck.checkLength(StringCheck.java:431)
at oracle.dmt.odm.internal.StringCheck.checkSchemaObjectName(StringCheck
.java:188)
at oracle.dmt.odm.Location.<init>(Location.java:76)
at oracle.dmt.odm.LocationAccessData.<init>(LocationAccessData.java:61)
at Sample_AssociationRules.createPhysicalDataSpecification(Sample_AssociationRules.java:225)
at Sample_AssociationRules.main(Sample_AssociationRules.java:131)
Logout Phase:
Completed MiningServer logout
End: Wed Mar 05 18:07:38 CST 2003
***************************
Similar Messages
-
Runtime error when running sample program VS8, occi10
Please, help!
When running a sample program (VS2005 v8, oraocci10.lib, oraocci10.dll, both downloaded from the recommended Oracle site http://www.oracle.com/technology/tech/oci/occi/occidownloads.html for Oracle release 10.2.0.3.0 )
I receive the following runtime error:
R6034 An application has made an attempt to load the C runtime library incorrectly.
When I build the program with VS 7 or VS 7.1 libraries, I receive env->CreateConnection errorHi,
Can you just give more explanation on what you are trying to do, like conditions.
Are doing first time init.
Reg
Pra -
Strange error while running java program in oracle
Hi all,
I have written a java program and saved it as .sqlj file. i have to run the program on sql prompt.
while running the program i am getting the following error.Please help me.I am in urgent situation
ORA-29536: badly formed source: User has attempted to load a class
(tactossSecurity) into a restricted package. Permission can be granted using
dbms_java.grant_permission(<user>, LoadClassInPackage...
Thanks & Regards
Raghavender Rao KodumuriRaghavender,
I also answered you in the SQL forum, where you posted the exact same question.
Re: Trying to execute java programm in oracle getting the following error
Good Luck,
Avi. -
Error executing Webdynpro mail program
Hi,
I am using webdynpro code for implementing mail service.
I have imported jaxrpc.jar as external jar file.
I got this jar from axis.zip.
While implementing the code, I get following exception.
java.lang.Error: Unresolved compilation problems:
Class must implement the inherited abstract method Service.getWSDLDocumentLocation()
Class must implement the inherited abstract method Service.getPorts()
Class must implement the inherited abstract method IEmailServiceservice.getLogicalPortNames()
Class must implement the inherited abstract method Service.getPort(Class)
Class must implement the inherited abstract method Service.getTypeMappingRegistry()
Class must implement the inherited abstract method Service.getCalls(QName)
Class must implement the inherited abstract method Service.getPort(QName, Class)
Class must implement the inherited abstract method Service.createCall(QName, QName)
Class must implement the inherited abstract method Service.createCall(QName, String)
Class must implement the inherited abstract method Service.createCall()
Class must implement the inherited abstract method Service.getServiceName()
Class must implement the inherited abstract method Service.getHandlerRegistry()
Class must implement the inherited abstract method Service.createCall(QName)
com.sap.engine cannot be resolved or is not a valid superclass
The method loadProtocolsFromPropertyFile(InputStream) is undefined for the type IEmailServiceserviceImpl
The method init(InputStream) is undefined for the type IEmailServiceserviceImpl
The method getPort(QName, Class) is undefined for the type Object
The method getPort(QName, Class) is undefined for the type Object
The method getLogicalPort(Class) is undefined for the type Object
Whats wrong?
thanks,
AshutoshHello Anil,
I am not even able to compile my project.
I get compilation errors as
Class must implement the inherited abstract method SendEmailService.getLogicalPortNames()
Class must implement the inherited abstract method Service.createCall()
Class must implement the inherited abstract method Service.createCall(QName, QName)
Class must implement the inherited abstract method Service.createCall(QName, String)
Class must implement the inherited abstract method Service.createCall(QName)
Class must implement the inherited abstract method Service.getCalls(QName)
Class must implement the inherited abstract method Service.getHandlerRegistry()
Class must implement the inherited abstract method Service.getPort(Class)
Class must implement the inherited abstract method Service.getPort(QName, Class)
Class must implement the inherited abstract method Service.getPorts()
Class must implement the inherited abstract method Service.getServiceName()
Class must implement the inherited abstract method Service.getTypeMappingRegistry()
Class must implement the inherited abstract method Service.getWSDLDocumentLocation()
com.sap.engine cannot be resolved or is not a valid superclass
The method getLogicalPort(Class) is undefined for the type Object
The method getPort(QName, Class) in the type Service is not applicable for the arguments (QName, null)
The method getPort(QName, Class) is undefined for the type Object
The method getPort(QName, Class) is undefined for the type Object
The method init(InputStream) is undefined for the type SendEmailServiceImpl
The method loadProtocolsFromPropertyFile(InputStream) is undefined for the type SendEmailServiceImpl
Do you have any latest jaxrpc.jar download url?
thanks,
Ashutosh -
ODM Sample Program Run Time Errors
I try to run Data Mining Sample programs against Oracle Sample schema data.
When run Java Programs, (in all algorithms) following Exception occur when build model :
--- Build Model - using cost matrix ---
treeBuildTask_jdm is started, please wait. javax.datamining.JDMException: Generic Error.
at oracle.dmt.jdm.resource.OraExceptionHandler.createException(OraExceptionHandler.java:142)
at oracle.dmt.jdm.resource.OraExceptionHandler.createException(OraExceptionHandler.java:91)
at oracle.dmt.jdm.OraDMObject.createException(OraDMObject.java:111)
at oracle.dmt.jdm.OraExecutionHandle.waitForCompletion(OraExecutionHandle.java:232)
at com.cbc.mytest.dmsConn.executeTask(dmsConn.java:229)
at com.cbc.mytest.dmsConn.buildModel(dmsConn.java:200)
at com.cbc.mytest.dmsConn.main(dmsConn.java:142)
Caused by: java.sql.SQLException: Conversion to String failed
at oracle.sql.Datum.stringValue(Datum.java:172)
at oracle.dmt.jdm.scheduler.OraJobInfo.getExecutionDuration(OraJobInfo.java:235)
at oracle.dmt.jdm.scheduler.OraJobInfo.updateJobInfo(OraJobInfo.java:168)
at oracle.dmt.jdm.scheduler.OraJob.waitForCompletion(OraJob.java:139)
at oracle.dmt.jdm.OraExecutionHandle.waitForCompletion(OraExecutionHandle.java:227)
... 3 more
When run sql scripts following error occur when build model:
SQL> -- Build a DT model
SQL> BEGIN
2 DBMS_DATA_MINING.CREATE_MODEL(
3 model_name => 'DT_SH_Clas_sample',
4 mining_function => dbms_data_mining.classification,
5 data_table_name => 'mining_data_build_v',
6 case_id_column_name => 'cust_id',
7 target_column_name => 'affinity_card',
8 settings_table_name => 'dt_sh_sample_settings');
9 END;
10 /
BEGIN
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "DMSYS.DBMS_DATA_MINING", line 305
ORA-06512: at line 2
Wonder if these two appeard different errors are actually related.
Model Build against the same data in Data Miner are fine. So that make me think Data and data type is fine. Is runtime environment needed to set in certain way???
Please give me your valuable input in which direction to look for solutions.
Thank you so much!
Zhene
Our system setting:
Database: 10g R2 Oracle Database with OLAP, DM options.
schema SH installed,
Jdk 1.4.2.Good Morning! Xiafang,
I just talked to our DBA, he send a the information you asked for. Please let me know if you have any suggestions.
Thanks,
Zhene
Our DBA's e-mail:
I gave dmuser everything that I normally give to myself. It has the following:
grant sysdba,dba,connect,resource,select any dictionary to dmuser;
This should remove privileges as an issue.
If you execute a profile in /opt/app/oracle called .profile10 you get the following environment. Maybe you can copy .profile10 to your unix logins home directory and execute it : . ./.profile10
PATH=./:/usr/java1.2/bin:/opt/app/oracle/product/10.2.0.1/bin:./:/usr/bin::/usr//bin:/opt/app/oracle/product/9.2/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr/ucb:/usr/java1.2/bin:/opt/app/oracle/product/9.2/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr/ucb
ORACLE_BASE=/opt/app/oracle
JAVA_PATH=/usr/j2se/bin:/usr/j2se/include:/opt/app/bea/tuxedo8.0/bin
TUXDIR=/opt/app/bea/tuxedo8.0
ORACLE_PATH=/opt/app/oracle/product/9.2/bin
ORACLE_SID=OLAPDM
DBHOST=kenny
PS1=^[[5mkenny%oracle:$ORACLE_SID:$PWD> ${e}[0m
ORACLE_LIBRARY_PATH=/opt/app/oracle/product/9.2/lib32:/opt/app/oracle/product/9.2/lib
JAVA_LIBRARY_PATH=/usr/j2se/lib:/usr/j2se/jre/lib/sparc
JAVA_VERSION=java1.2
LD_LIBRARY_PATH=/usr/lib/:/opt/app/oracle/product/10.2.0.1/lib:/opt/app/oracle/product/10.2.0.1/rdbms/lib:/opt/openv/netbackup/bin
JAVA_SUFFIX1=12
ORACLE_HOME=/opt/app/oracle/product/10.2.0.1
Don -
Error while executing HelloWorld.java program
Hi All,
I am trying to execute the samples(HelloWorld.java) program from Jdeveloper and provided the following details in runtime.defaults:
CONTENT_DB_URL
ADMIN_USER_NAME
ADMIN_USER_PASSWORD
however getting the following exception:
FdkException:
Error Code: ORACLE.FDK.UnexpectedError
Detailed Error Code: ORACLE.FDK.FeatureNotEnabled
Trace Id:
info (NamedValue[]): null
can any one please help me to resolve this issue.
Thanks
Krrish.See the Cleartext Authentication note in the running_client_samples.html file of the CDB devkit.
The default configuration for an out-of-box Oracle Content DB installation allows Cleartext Authentication only if SSL has been enabled (and the Web Services connection string begins with https). See the authentication topic for details.
To allow Cleartext Authentication to take place over standard (non-SSL) HTTP, set the Oracle Content DB domain property IFS.DOMAIN.WS.CleartextAuthenticationRequiresHttps to false using Enterprise Manager (Application Server Control). See the Content DB Administration Guide for details.
If the domain property above is not modified to false and Cleartext Authentication is attempted using using standard HTTP, an FdkException will be thrown:
ORACLE.FDK.UnexpectedError : ORACLE.FDK.FeatureNotEnabled
cheers
Matt. -
OCI - Sample program works on Windows but gives error in Solaris ??
Hi,
I am new to OCI. I was trying the following sample program:
#include<iostream>
#include<conio.h>
#include<firstheader.h>
//#include<stdafx.h>
#include<string.h>
using namespace std;
class OCIClass
public:
OCIClass()
int p_bvi;
char p_sli[20];
int rc;
char errbuf[100];
int errcode;
const char *s;
printf("Hello\n");
string sql;
string sql2="select substr(ename,1,3) from emp where job='ANALYST'";
cout<<sql2;
//char sql[512];
int flag=0;
sql += "SELECT * from emp where job='";
if (flag==0)
sql += "MANAGER";
else
sql += "ANALYST";
sql += "'";
cout<<sql + "\n";
s=sql.c_str();
char* cstr = new char[sql.size()+1];
strcpy (cstr, sql.c_str());
char* cstr2 = new char[sql2.size()+1];
strcpy (cstr2, sql2.c_str());
sql=" ";
/* Initialize evironment */
rc=OCIEnvCreate((OCIEnv **)&p_env,(ub4)OCI_DEFAULT ,(void *)0, (void * (*)(void *, size_t))0,
(void * (*)(void *, void *, size_t))0,(void (*)(void *, void *))0,(size_t)0, (void **)0);
/* Initialize handles */
rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_err, OCI_HTYPE_ERROR,
(size_t) 0, (dvoid **) 0);
printf("Error handle allocated\n");
rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_svc, OCI_HTYPE_SVCCTX,
(size_t) 0, (dvoid **) 0);
printf("service handle allocated\n");
printf("Value of RC before Logon\n %d", rc);
/* Connect to database server */
rc = OCILogon(p_env, p_err, &p_svc, (OraText *)"scott", 5,(OraText *) "welcome", 7,(OraText *) "", 0);
printf("Value of RC after Logon\n %d", rc);
if (rc != 0) {
OCIErrorGet((dvoid *)p_err, (ub4) 1, (text *) NULL, &errcode, (OraText *)errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
printf("Error - %s\n",errbuf);
printf("error");
//exit(8);
getch();
printf("Connect successful\n");
/* Allocate and prepare SQL statement */
rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_sql,
OCI_HTYPE_STMT, (size_t) 0, (dvoid **) 0);
rc = OCIStmtPrepare(p_sql, p_err, (OraText*) cstr,
(ub4) 37, (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT);
/* Bind the values for the bind variables
p_bvi = 10; /* Use DEPTNO=10
rc = OCIBindByName(p_sql, &p_bnd, p_err, (text *) ":x",
-1, (dvoid *) &p_bvi, sizeof(int), SQLT_INT, (dvoid *) 0,
(ub2 *) 0, (ub2 *) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT);*/
/* Define the select list items */
rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, (dvoid *) &p_sli,
(sword) 20, SQLT_STR, (dvoid *) 0, (ub2 *)0,
(ub2 *)0, OCI_DEFAULT);
/* Execute the SQL statment */
rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 1, (ub4) 0,
(CONST OCISnapshot *) NULL, (OCISnapshot *) NULL, OCI_DEFAULT);
while (rc != OCI_NO_DATA) { /* Fetch the remaining data */
printf("%s\n",p_sli);
rc = OCIStmtFetch(p_sql, p_err, 1, 0, 0);
printf("After fetch\n");
rc = OCILogoff(p_svc, p_err); /* Disconnect */
rc = OCIHandleFree((dvoid *) p_sql, OCI_HTYPE_STMT); /* Free handles */
rc = OCIHandleFree((dvoid *) p_svc, OCI_HTYPE_SVCCTX);
rc = OCIHandleFree((dvoid *) p_err, OCI_HTYPE_ERROR);
void main()
OCIClass c1;
getch();
The above program works on my Windows desktop. If I try this in Solaris, OCILogon fails and gives an error. If I check the value of rc, I find that it is -2. I can connect to the database using SQLPlus, but not through the program. Not sure how to debug this...
Any pointers ?
Thanks in advance,
mrkDid you make the required port entry in the /etc/services file? You will need to add the gateway service port there. Then try to run your program.
T00th -
Strange error? Adaptive Bayes Network Sample
Hi there,
I got strange errors when I ran the Sample_AdaptiveBayesNetworkBuild, Sample_AdaptiveBayesNetworkTestAndLift and Sample_AdaptiveBayesNetworkApply programs.
After building and testing the model successfully, when applying the sample input table CENSUS_2D_APPLY_BINNED, the following are the first ten rows from the output table CENSUS_ABN_APPLY_RESULT:
MYPREDICTION MYPROBABILITY ID
1 1.999755 4
0 .000122498 4
0 .721123334 20
1 .557753333 20
0 .987005744 26
1 .025988511 26
1 1.98996994 28
0 .00501503 28
1 1.72734615 33
0 .136326923 33
10 rows selected.
Just wonder why some probabilities in the second column are greater then 1? I have run the programs for several times and gotten similar results.
Please help me.
Yingping HuangTry using CENSUS_2D_APPLY_UNBINNED table instead of CENSUS_2D_APPLY_BINNED. I think the API takes Unbinned table for Scoring.
-
Sample java client not running--showing a strange error-- help urgently
Hi,
I have followed all the steps, given in JDevloper help, to create and deploy an EJB onto a 9ias server and I have been successful in creating the EJB and deploying it from the JDevloper machine to 9ias machine.My JDevloper is on one machine and 9ias is on another. After deploying when I am creating a sample java client, as given in the JDevloper help file, it gives a very strange error
java.lang.NullPointerException
void Samplemypackage1.MySessionEJB1Client.main(java.lang.String[])
Process exited with exit code 0.
I have tried a lot but it's not happening. Is it becuase
1. 9ias and JDevloper should be on the same machine
2. some configurational changes need to be done in the settings
3. jdk1.3.1 is not compatible with JDevloper.
I am enclosing the code snippet for your quick reference.
package Samplemypackage1;
import java.util.Hashtable;
//import javax.rmi.PortableRemoteObject;
import javax.naming.Context;
import javax.naming.InitialContext;
import mypackage1.MySessionEJB1;
import mypackage1.MySessionEJB1Home;
public class MySessionEJB1Client
public static void main(String [] args)
MySessionEJB1Client mySessionEJB1Client = new MySessionEJB1Client();
try
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "admin");
env.put(Context.PROVIDER_URL, "ormi://9ias:23791/MySessionEJB1");
Context ctx = new InitialContext(env);
MySessionEJB1Home mySessionEJB1Home = (MySessionEJB1Home)ctx.lookup("MySessionEJB1");
MySessionEJB1 mySessionEJB1;
// Use one of the create() methods below to create a new instance
mySessionEJB1 = mySessionEJB1Home.create();
// Call any of the Remote methods below to access the EJB
System.out.println(mySessionEJB1.calc("om sri"));
catch(NullPointerException ne)
ne.printStackTrace();
catch(Throwable ex)
ex.printStackTrace();
When I tried to debug the program I found that the line " mySessionEJB1 = mySessionEJB1Home.create()" returns a null. I really fail to understand as to why it is happening.
Please help me.
ThankxThat's strange. home.create() should never return a null.
Do you see any exception trace on the server side?
Do you have the same version of oc4j.jar on client and server machine? Which version of Jdeveloper and 9iAs are you using?
Try copying oc4j.jar from the server machine to client machine and use that to connect to the bean.
HTH
Dhiraj -
Sample Program hangs while executing mining task
Hi, we installed 9i (9.2.0.3, JServer Release 9.2.0.3.0) DM option. The two users related to ODM have been created by installation and been unlocked. I am trying to run the sample programs on the AIX UNIX server. I could succesfully compile these java programs but when I run them, they hang (for more than 1 hour) just after executing wait-on-task statement.
On this server I could compile test java programs on O/S. I could store and execute those classes as java stored procedures.
I suspect the reason is because ODM_MONITOR gives the following error:
begin ODM.DMT_ODM.MONITOR_MAIN;end;
ERROR at line 1:
ORA-29541: class ODM.oracle/dmt/odm/internal/task/DMSMonitor could not be
resolved
ORA-06512: at "ODM.DMT_ODM", line 0
ORA-06512: at line 1
The reason could be that 72 Java classes under ODM DB account (including the corresponding class) are invalid. Even after reinstallation, they remain invalid. Anyone has any ideas as to why it is happening? Is there anything that I am missing? Any help is appreciated
Thanks,
KiranHi Kiran,
Oracle Data Mining is not ported 9.2.0.3.0 release to AIX. The invalid objects are caused because AIX 9.2.0.3.0 relapse is using older version of the ODM libraries.
Two possible solutions are:
1. Use AIX 9.2.0.1 release (to which ODM was ported).
2. Request Oracle support for a 9.2.0.3.0 port of ODM. -
Error While executing the Standard Program RSEINB00
Hi,
I am trying to execute the Standard Program RSEINB00.
The input parameters for this program are
1. File path along with name
2. Port.
File path I am giving the application server directory along with the filename.
For port. i have created a port in WE21.
For both outbound parametes I selected the Physical directory and gave directory name and file name in both tabs and saved the port definition.
Now I am passing the port to the RSEINB00 program.
it is giving an error File cannot be opened.
Can any one help me on this. Can someone guide me how to use RSEINB00 to read file from application server.
thanksHi,
I think,you missed out some steps while creating Port.so please follow the below steps to resolve the issue.
we21->click on your port number->outbound file tab->function module: EDI_PATH_CREATE_MESTYP_DOCNUM.
outbound file: give file name .txt.
and give the physical directory : /usr/sap/.......................................txt and save.
and click on 'ACESS TEST' button and check any error is coming.
go to outbound trigger tab-> give RFC destination name which we have created under a port in SM59.
and one more important thing is check your unicode status is active or not.
.Please get back me .if any issues.
Kiran J -
Strange error while executing a stored procedure: Incorrect syntax near '@p0'
All, I am getting a strange error while executing a stored procedure: Incorrect syntax near '@p0' using JDBC CallableStatment.
Here is my code...
CallableStatement cStmt = con.prepareCall("{call SET CHAINED ON EXEC <dbName>.<schemaName>.<SPName> (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
cStmt.setString(1, "2012005881");
cStmt.setString(2, "07");
cStmt.setString(3, "10");
cStmt.setString(4, "Case title");
cStmt.setString(5, "Open");
java.sql.Date dt1 = new java.sql.Date(2014,10,20);
cStmt.setDate(6, dt1);
cStmt.setString(7, "01");
cStmt.setString(8, "N");
cStmt.setString(9, "ADA Test");
cStmt.setString(10, "N");
cStmt.setString(11, "English");
cStmt.setString(12, "N");
cStmt.setString(13, "N");
cStmt.setString(14, "N");
cStmt.setString(15, "N");
cStmt.setString(16, "N");
cStmt.setString(17, "N");
cStmt.setString(18, "07");
cStmt.setString(19, "10");
cStmt.setString(20, "juache0");
java.sql.Date dt2 = new java.sql.Date(2014,10,20);
java.sql.Date dt3 = new java.sql.Date(2014,10,20);
cStmt.setDate(21, dt2);
cStmt.setDate(22, dt3);
cStmt.setString(23, "userid0");
cStmt.setString(24, "");
cStmt.setString(25, "");
cStmt.setString(26, "");
java.math.BigDecimal bg1 = new java.math.BigDecimal(10);
cStmt.setBigDecimal(27, bg1);
cStmt.setString(28, "userid");
cStmt.setString(29, "userid");
int hadResults = cStmt.executeUpdate();
Your help is greatly appreciated.
I am executing the above using Jconnect3.0 driver, inside WebSphere Application Server V8.0
Thanks
NagsNOTE: I don't work with JDBC/jConnect so (at this point) just some questions ...
1 - are you sending this to ASE, ASA, IQ, or some other RDBMS?
2 - what is the value of <schemaname>?
3 - do you have other prepareCall() instances that successfully call a stored proc? [would be interesting to see if there's a difference in the format of the calls]
A quick google search shows a couple ways to submit a stored proc execution to the RDBMS, with the format depending on the format expected by the target RDBMS.
I'm wondering if you really need/want the parentheses around the argument list, ie, what happens if you change
from
-- parentheses around args
EXEC <dbName>.<schemaName>.<SPName> ( ?,?,?,?,?,...,? )
to
-- no parentheses around args
EXEC <dbName>.<schemaName>.<SPName> ?,?,?,?,?,...,?
In ASE if I wrap the parameters in parentheses I get the same error you're getting:
================== w/ parentheses => error
1> sp_who (sa)
2> go
Msg 102, Level 15, State 1:
Server 'CC1_V1', Line 1:
Incorrect syntax near 'sa'. <<=== sa == @p0 ??
================== w/out parentheses => works
1> sp_who sa
2> go
fid spid status loginame origname ...
0 17 running sa sa ...
================== -
Error while compiling xdk C sample program
hello,
the following error happens with xdk version 9.2.0.6 and oracle 9.2.0.4 installed on linux SUSE 9.1:
while compiling the xdk C sample program "SAXSample.c" in
$ORACLE_HOME/xdk/demo/c/parser, I got many "undefined reference" messages.
Here follows an excerpt of the first few lines of the error log:
oracle@cassius:/exp/oracle/xdk/demo/c/parser> make SAXSample
cc -o SAXSample -I ../../../../xdk/include SAXSample.c -L ../../../../lib -lxml9 -lxsd9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnls9 -lnsl -lm -lpthread
../../../../lib/libxml9.a(lpxerr.o)(.text+0x4d9): In function `LpxErrVPrintf':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxm.o)(.text+0x37dd): In function `LpxmA2L':
: undefined reference to `__ctype_b'
../../../../lib/libxml9.a(lpxm.o)(.text+0x38f9): In function `LpxmA2UL':
: undefined reference to `__ctype_b'
and so on.
Has anybody had this problem before? What's wrong with the libraries?
Thanks in advance.I don't see a specific Proc or precompiler forum around here.
Perhaps your best bet would be at [Call interface (OCI)|http://forums.oracle.com/forums/forum.jspa?forumID=67] forum or maybe [SQL and PL/SQL|http://forums.oracle.com/forums/forum.jspa?forumID=75] since it's more of a developers' forum. -
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
Dump error while executing this unicode program.....
Hi,
I got a program for 'Production Order Quantity Change Daily Checklist' ,but while executing i got the dump error from the following program stating tat,
The current statement is only defined for character-type data objects.
Error in the ABAP Application Program
The current ABAP program "ZPROD" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
For the statement
"READ DATASET ... INTO f"
only character-type data objects are supported at the argument position
"f".
In this case. the operand "f" has the non-character-type "u". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
Program:
REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
LINE-COUNT 058(001).
TABLES: AUFK, "Order master data
AFKO, "Order header data PP orders
RESB, "Reservation/dependent requirements
MAST, "Material to BOM Link
STKO, "BOM Header
STPO. "BOM item
DATA: BEGIN OF WA,
AUART TYPE AUFK-AUART,
AUFNR TYPE AUFK-AUFNR,
AEDAT TYPE AUFK-AEDAT,
AENAM TYPE AUFK-AENAM,
WERKS TYPE AUFK-WERKS,
PLNBEZ TYPE AFKO-PLNBEZ,
GAMNG TYPE AFKO-GAMNG,
GASMG TYPE AFKO-GASMG,
MATNR TYPE RESB-MATNR,
POSNR TYPE RESB-POSNR,
BDMNG TYPE RESB-BDMNG,
BMENG TYPE STKO-BMENG,
MENGE TYPE STPO-MENGE,
END OF WA,
ITAB LIKE SORTED TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
DATA: BEGIN OF ITAB2 OCCURS 0.
INCLUDE STRUCTURE WA.
DATA: END OF ITAB2.
DATA: BEGIN OF ITAB_AUFK OCCURS 0,
AUART LIKE AUFK-AUART,
AUFNR LIKE AUFK-AUFNR,
POSNR LIKE RESB-POSNR,
AEDAT LIKE AUFK-AEDAT,
AENAM LIKE AUFK-AENAM,
WERKS LIKE AUFK-WERKS,
PLNBEZ LIKE AFKO-PLNBEZ,
GAMNG(7) TYPE P DECIMALS 0,
GASMG(7) TYPE P DECIMALS 0,
MATNR LIKE RESB-MATNR,
BDMNG(7) TYPE P DECIMALS 0,
BMENG(7) TYPE P DECIMALS 0,
MENGE(7) TYPE P DECIMALS 3.
DATA: END OF ITAB_AUFK.
DATA: FDATE LIKE SY-DATUM,
LDATE LIKE SY-DATUM.
DATA: X_AUFNR LIKE AFKO-AUFNR,
X_MENGE(7) TYPE P DECIMALS 0,
X_ERR(3).
DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
SELECT-OPTIONS T_WERKS FOR AUFK-WERKS OBLIGATORY.
SELECT-OPTIONS T_AUFNR FOR AUFK-AUFNR.
SELECT-OPTIONS T_AEDAT FOR AUFK-AEDAT.
PARAMETERS PDATA LIKE W_DATASET1.
CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
PERFORM F_COLLECT_DATA.
FORM F_COLLECT_DATA.
OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
DO.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ DATASET W_DATASET1 INTO WA.
APPEND WA TO ITAB2.
ENDDO.
CLOSE DATASET W_DATASET1.
SELECT AAUFNR AAUART AAEDAT AAENAM A~WERKS
BPLNBEZ BGAMNG B~GASMG
CMATNR CBDMNG C~POSNR
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM ( AUFK AS A
INNER JOIN AFKO AS B ON BAUFNR = AAUFNR
INNER JOIN RESB AS C ON CAUFNR = AAUFNR )
WHERE A~AEDAT IN T_AEDAT
AND A~WERKS IN T_WERKS.
LOOP AT ITAB INTO WA.
CLEAR MAST.
SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
AND WERKS = WA-WERKS.
CLEAR STKO.
SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
AND STLAL = MAST-STLAL.
CLEAR STPO.
SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
AND POSNR = WA-POSNR.
WA-BMENG = STKO-BMENG.
WA-MENGE = STPO-MENGE.
MODIFY ITAB FROM WA.
AT NEW AUFNR.
SKIP.
ENDAT.
LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
AND POSNR = WA-POSNR.
IF ITAB2-GAMNG <> WA-GAMNG OR
ITAB2-GASMG <> WA-GASMG OR
ITAB2-BDMNG <> WA-BDMNG.
CLEAR X_MENGE.
IF ITAB2-BMENG <> 0.
X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
ENDIF.
CLEAR X_ERR.
IF ITAB2-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR COL_TOTAL.
WRITE: / ITAB2-AUART UNDER 'Type',
ITAB2-AUFNR UNDER 'Prod Order',
ITAB2-AEDAT UNDER 'Last Chg Dt',
ITAB2-AENAM UNDER 'Last Chg by',
ITAB2-WERKS UNDER 'Plant',
ITAB2-PLNBEZ UNDER 'Material',
(10) ITAB2-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) ITAB2-GASMG UNDER 'Scrap Qty' DECIMALS 0,
ITAB2-POSNR UNDER 'Item',
ITAB2-MATNR UNDER 'Component Req',
(10) ITAB2-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
ITAB2-BMENG UNDER 'BOM Base',
ITAB2-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
CLEAR X_MENGE.
IF WA-BMENG <> 0.
X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
ENDIF.
CLEAR X_ERR.
IF WA-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR OFF.
WRITE: / WA-AUART UNDER 'Type',
WA-AUFNR UNDER 'Prod Order',
WA-AEDAT UNDER 'Last Chg Dt',
WA-AENAM UNDER 'Last Chg by',
WA-WERKS UNDER 'Plant',
WA-PLNBEZ UNDER 'Material',
(10) WA-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) WA-GASMG UNDER 'Scrap Qty' DECIMALS 0,
WA-POSNR UNDER 'Item',
WA-MATNR UNDER 'Component Req',
(10) WA-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
WA-BMENG UNDER 'BOM Base',
WA-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
ENDIF.
ENDLOOP.
ENDLOOP.
LOOP AT ITAB2.
LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
AND POSNR = ITAB2-POSNR.
DELETE ITAB2.
ENDLOOP.
SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
IF SY-SUBRC <> 0.
DELETE ITAB2.
ENDIF.
ENDLOOP.
OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
LOOP AT ITAB INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
LOOP AT ITAB2 INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
CLOSE DATASET W_DATASET1.
ENDFORM.
TOP-OF-PAGE.
FORMAT COLOR COL_TOTAL.
WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
50 'Daily Qty Changed Checklist for Production Order',
120 SY-PAGNO.
SKIP.
WRITE: / 'Plant ', T_WERKS-LOW.
WRITE: ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
SKIP.
WRITE: /1 'Type',
6 'Prod Order',
17 'Last Chg Dt',
29 'Last Chg by',
42 'Plant',
49 'Material',
69 'Order Qty',
83 'Scrap Qty',
99 'Item',
105 'Component Req',
121 'Req Qty',
135 'BOM Qty',
149 'BOM Base',
163 'BOM Comp',
178 'Rmks'.
ULINE.
WRITE: / 'Previous data :- '.
FORMAT COLOR OFF.
WRITE: / 'Current data :- '.
INITIALIZATION.
LDATE = SY-DATUM.
LDATE = LDATE - 1.
FDATE = LDATE.
MOVE: FDATE TO T_AEDAT-LOW.
APPEND T_AEDAT.
PDATA = 'AE001'.
So,give me any suggestions where to customize r do rectify the error.This will be useful for me.
Advance Thnx..*REPORT ZPROD.
REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
LINE-COUNT 058(001).
TABLES: AUFK, "Order master data
AFKO, "Order header data PP orders
RESB, "Reservation/dependent requirements
MAST, "Material to BOM Link
STKO, "BOM Header
STPO. "BOM item
DATA: BEGIN OF WA,
AUART TYPE AUFK-AUART,
AUFNR TYPE AUFK-AUFNR,
AEDAT TYPE AUFK-AEDAT,
AENAM TYPE AUFK-AENAM,
WERKS TYPE AUFK-WERKS,
PLNBEZ TYPE AFKO-PLNBEZ,
GAMNG TYPE AFKO-GAMNG,
GASMG TYPE AFKO-GASMG,
MATNR TYPE RESB-MATNR,
POSNR TYPE RESB-POSNR,
BDMNG TYPE RESB-BDMNG,
BMENG TYPE STKO-BMENG,
MENGE TYPE STPO-MENGE,
END OF WA,
ITAB LIKE SORTED TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
DATA: BEGIN OF ITAB2 OCCURS 0.
INCLUDE STRUCTURE WA.
DATA: END OF ITAB2.
DATA: BEGIN OF ITAB_AUFK OCCURS 0,
AUART LIKE AUFK-AUART,
AUFNR LIKE AUFK-AUFNR,
POSNR LIKE RESB-POSNR,
AEDAT LIKE AUFK-AEDAT,
AENAM LIKE AUFK-AENAM,
WERKS LIKE AUFK-WERKS,
PLNBEZ LIKE AFKO-PLNBEZ,
GAMNG(7) TYPE P DECIMALS 0,
GASMG(7) TYPE P DECIMALS 0,
MATNR LIKE RESB-MATNR,
BDMNG(7) TYPE P DECIMALS 0,
BMENG(7) TYPE P DECIMALS 0,
MENGE(7) TYPE P DECIMALS 3.
DATA: END OF ITAB_AUFK.
DATA: FDATE LIKE SY-DATUM,
LDATE LIKE SY-DATUM.
DATA: X_AUFNR LIKE AFKO-AUFNR,
X_MENGE(7) TYPE P DECIMALS 0,
X_ERR(3).
DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
SELECT-OPTIONS T_WERKS FOR AUFK-WERKS OBLIGATORY.
SELECT-OPTIONS T_AUFNR FOR AUFK-AUFNR.
SELECT-OPTIONS T_AEDAT FOR AUFK-AEDAT.
PARAMETERS PDATA LIKE W_DATASET1.
CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
PERFORM F_COLLECT_DATA.
FORM F_COLLECT_DATA.
OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
DO.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ DATASET W_DATASET1 INTO WA.
APPEND WA TO ITAB2.
ENDDO.
CLOSE DATASET W_DATASET1.
SELECT AAUFNR AAUART AAEDAT AAENAM A~WERKS
BPLNBEZ BGAMNG B~GASMG
CMATNR CBDMNG C~POSNR
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM ( AUFK AS A
INNER JOIN AFKO AS B ON BAUFNR = AAUFNR
INNER JOIN RESB AS C ON CAUFNR = AAUFNR )
WHERE A~AEDAT IN T_AEDAT
AND A~WERKS IN T_WERKS.
LOOP AT ITAB INTO WA.
CLEAR MAST.
SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
AND WERKS = WA-WERKS.
CLEAR STKO.
SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
AND STLAL = MAST-STLAL.
CLEAR STPO.
SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
AND POSNR = WA-POSNR.
WA-BMENG = STKO-BMENG.
WA-MENGE = STPO-MENGE.
MODIFY ITAB FROM WA.
AT NEW AUFNR.
SKIP.
ENDAT.
LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
AND POSNR = WA-POSNR.
IF ITAB2-GAMNG <> WA-GAMNG OR
ITAB2-GASMG <> WA-GASMG OR
ITAB2-BDMNG <> WA-BDMNG.
CLEAR X_MENGE.
IF ITAB2-BMENG <> 0.
X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
ENDIF.
CLEAR X_ERR.
IF ITAB2-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR COL_TOTAL.
WRITE: / ITAB2-AUART UNDER 'Type',
ITAB2-AUFNR UNDER 'Prod Order',
ITAB2-AEDAT UNDER 'Last Chg Dt',
ITAB2-AENAM UNDER 'Last Chg by',
ITAB2-WERKS UNDER 'Plant',
ITAB2-PLNBEZ UNDER 'Material',
(10) ITAB2-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) ITAB2-GASMG UNDER 'Scrap Qty' DECIMALS 0,
ITAB2-POSNR UNDER 'Item',
ITAB2-MATNR UNDER 'Component Req',
(10) ITAB2-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
ITAB2-BMENG UNDER 'BOM Base',
ITAB2-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
CLEAR X_MENGE.
IF WA-BMENG <> 0.
X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
ENDIF.
CLEAR X_ERR.
IF WA-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR OFF.
WRITE: / WA-AUART UNDER 'Type',
WA-AUFNR UNDER 'Prod Order',
WA-AEDAT UNDER 'Last Chg Dt',
WA-AENAM UNDER 'Last Chg by',
WA-WERKS UNDER 'Plant',
WA-PLNBEZ UNDER 'Material',
(10) WA-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) WA-GASMG UNDER 'Scrap Qty' DECIMALS 0,
WA-POSNR UNDER 'Item',
WA-MATNR UNDER 'Component Req',
(10) WA-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
WA-BMENG UNDER 'BOM Base',
WA-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
ENDIF.
ENDLOOP.
ENDLOOP.
LOOP AT ITAB2.
LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
AND POSNR = ITAB2-POSNR.
DELETE ITAB2.
ENDLOOP.
SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
IF SY-SUBRC <> 0.
DELETE ITAB2.
ENDIF.
ENDLOOP.
OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
LOOP AT ITAB INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
LOOP AT ITAB2 INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
CLOSE DATASET W_DATASET1.
ENDFORM.
TOP-OF-PAGE.
FORMAT COLOR COL_TOTAL.
WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
50 'Daily Qty Changed Checklist for Production Order',
120 SY-PAGNO.
SKIP.
WRITE: / 'Plant ', T_WERKS-LOW.
WRITE: ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
SKIP.
WRITE: /1 'Type',
6 'Prod Order',
17 'Last Chg Dt',
29 'Last Chg by',
42 'Plant',
49 'Material',
69 'Order Qty',
83 'Scrap Qty',
99 'Item',
105 'Component Req',
121 'Req Qty',
135 'BOM Qty',
149 'BOM Base',
163 'BOM Comp',
178 'Rmks'.
ULINE.
WRITE: / 'Previous data :- '.
FORMAT COLOR OFF.
WRITE: / 'Current data :- '.
INITIALIZATION.
LDATE = SY-DATUM.
LDATE = LDATE - 1.
FDATE = LDATE.
MOVE: FDATE TO T_AEDAT-LOW.
APPEND T_AEDAT.
PDATA = 'AE001'.
Maybe you are looking for
-
How do I enable the use of a USB MIDI controller over ARD?
I'm running Ableton Live on my Macbook Pro and I'm controlling the MBP with my little Macbook. OK - all well and good. Full keyboard/trackpad control. The problem is that when I plug my uc-33e controller into the Macbook, the commands do not get thro
-
Intrastat-Wizard: Production BOM
Intrastat-Wizard: Production BOM If subordinate items do not have to be declared, they still have to be updated otherwise the error message 'data incomplete' appears. We need the option to 'send' or 'not send' the subordinate items e.g UDF -> releva
-
How to Query remote PC's registry by OU for 2 values and export to CSV file.
I'm new to scripting and to Powershell but this is what I have managed to put together so far. Of course it fails. We have two custom entries in the registry that I want to query remote workstations for these values, Monitor 1 and Monitor 2. Output t
-
my Athlon64 says: ADA18?AEP4AP CAAMC0343MPM 4156497C40102 What date was it made? What revision?
-
OLD COFC errors for maintenance orders
Hello, We are cleaning up some very old maintenance orders in our system (from as far back as 2004). Many of these have COFC errors so when we try to close and set the delete flag we get the error "unprocessed future change recs exist". We did the s