ibm

IBM JRE 1.5 will not startup with the requested 1.5G memory

IBM JRE 5.0 on Windows, when given -Xmx1536m on a laptop with 2GB memory, refuses to start up: error message below. With -Xmx1000m it does start. Also, it starts fine with -Xmx1536m on other servers and even laptops, so I think that there is something more than just inadequate memory. Also, when started from within Eclipse (albeit, u...

AS/400 'SELECT 1' Equivalent

I'm trying to help a friend troubleshoot connection problems with an AS/400. He'd like to run a query against the AS/400 that will always return a record, (similar to a SELECT 1 against MSSQL). He's attempted running SELECT 1 but without luck ... I'm assuming that the AS/400 expects a FROM TableName ... Can anyone provided assistance?...

Drop a DB2 view if it exists...

Why doesn't this work in IBM Data Studio (Eclipse): IF EXISTS (SELECT 1 FROM SYSIBM.SYSVIEWS WHERE NAME = 'MYVIEW' AND CREATOR = 'MYSCHEMA') THEN DROP VIEW MYSCHEMA.MYVIEW; END IF; I have a feeling it has to do with statement terminators (;) but I can't find a syntax that works. Another similar question at http://stackoverflow.co...

Use javac fork attribute with IBM JDK

Hi - I have a large ant build that I'm working on, that is currently running out of memory. One ways I've read that can help mitigate this problem is to use javac fork="true" to run javac in a separate jvm. My problem is that I need to compile the project with the IBM JDK (this is not the JDK referenced by JAVA_HOME, and I would pref...

IBM Informix using spatial datablade

I need to use IBM Informix for my project where I have point coordinates and I need to find which points are present in query rectangular region. Informix has spatial datablade module with ST_POINT and ST_POLYGON data objects. I know how to create, insert and create r-tree index on tables with such objects. But problem is how to do a S...

IBM Informix Spatial datablade LIneFromText function

Hi Everybody, I am using IBM-Informix for my school project as part of "Informix on-campus" ativity conduted by IBM. however it is giving me error as "(USE31) - Too few points for geometry type in ST_LineFromText.", in the second linefromtext function. ...

JCL file to create PDS and member

How can I write a JCL file that will create a PDS and a member within that same PDS? ...

DB2 Transaction log is full. How to flush / clear it?

Hi, I’m working on a experiment regarding to a course I’m taking about tuning DB2. I’m using the EC2 from Amazon (aws) to conduct the experiment. My problem is, however, that I have to test a non-compression against row-compression in DB2 and to do that I’ve created a bsh file that run those experiments. But when I reach to my compressi...

IBM Websphere Portal Server

can any one help me out where can i find a download for IBM Websphere Portal Server ...

Problem using FtpWebRequest to append to file on a mainframe

I am using FtpWebRequest to append data to a mainframe file. Each record appended is 50 characters long, and I am adding them one record at a time. In our development environment, we do not have a mainframe, so my code was written and tested FTPing to a Windows-based FTP site instead of a mainframe. Initially, I was writing each recor...

How can I preserve EBCDIC in Subversion

We're using Subversion version control and we need to save there files with IBM iSeries encoding (EBCDIC). What is the best way to do it? ...

How to prevent or remove orphaned IBM J9VM process programmatically

Hi all, I would like to know if there is a way to, if best, prevent, or otherwise remove orphaned IBMJ9VM programmatically. It is mentioned in IBM's documentation that doing a CTRL-C will create orphan JVM process. Nicholas ...

NULL parameter on javascript call to webservice

I've been following this example from IBM to call a java web service from javascript in an html page http://www.ibm.com/developerworks/webservices/library/ws-wsajax/ a small code snippet to show the communication with the webservice is: var call = new WS.Call('http://localhost:8080/MICE_Server/MapEditorService'); var nsuri = 'http://W...

Commons VFS and IBM MVS System

Hello All, I'm using Apache Commons VFS / SFTP, we are trying to download files from the IBM MVS system. The download part is all good, however, we can not open up the zipped files after downloading. Seems like the zip file was compressed using a different algorithm or something Anyone has any pointers? *Note, the same function wo...

How to use FTP get/put from Solaris to IBM Mainframe?

Hi there, For some reason when I try to use get or put from a Solaris box to an IBM mainframe, the ftp client appears to hang. I've tried all sorts of different variations (for example, including using quotes and not), and all I ever get is a "200 Port Request OK". But I never get the prompt back, and eventually the connection breaks. ...

what is as/400?

Hello what is AS/400 and where we use such systems? Which Programming language is using? where can i get the detail information about as400. ...

Struts DB query execution problem

Hello, I am trying to insert a data to my db2 9.7 database from IBM RAD 7.5 using struts 1.3 But when i execute the query i got this errors: http://pastebin.com/3UPTVKbh KayitBean kayit=(KayitBean)form; //String name = kayit.getName(); String name="endee"; DBConn hb = new DBConn(); Connection conn =hb.getConnection...

UnsatisfiedLinkError on Websphere Application Server 6.1 Data Source

Hi, I am unable to start the installed App on my WAS instance. I believe the root cause is an UnsatisfiedLinkError which is shown as follows: Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at ...

What are the difference between Cygwin on windows and real UNIX environment

Hi, I am a C/C++ developer. I have never done C++ programming on UNIX, I have done only on windows. I want to practice C++ on Unix. (Because all big companies ask C++ with Unix). I have a laptop on which i do not want to install any other OS (because i have installed very important software on it and i don't have setups) So, I searched...

Create XML DocType element

Hi all, Please I am working with IBM message broker, and I want to know how to create (in java/esql) DOCTYPE element in a message as the following: <!DOCTYPE COMMAND PUBLIC "any//DTD any//EN" "xml/command.dtd"> <COMMAND> ...... <COMMAND> I tried: MbElement root = outMessage.getRootElement().getLastChild(); MbElement xmlDocType = r...