Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Home / JAVA-Tools / blobtool
Name Modified Size InfoDownloads / Week
Parent folder
BlobTool.java 2020-05-11 10.2 kB
Makefile 2020-05-11 1.7 kB
README 2020-05-11 1.4 kB
Totals: 3 Items   13.4 kB 0
BlobTool.java Release Notes
===========================

This package was developed on SunOS 5.5.1, Informix 7.30.UC8,
Java JDK 1.1.7 and JDBC driver 1.40.JC2

This package contains the following files...

BlobTool.java - The source code of the Blob handler program.
Makefile      - To compile and test the program using make.
README        - This file.

To compile this package...

Make sure you have a lib directory under your home directory.

Make sure you CLASSPATH includes the path to the Informix JDBC 
driver and that your JDK is set up correctly.

Then run:

make

To test this package, change the first three entries in the 
Makefile in accordance with your environment and then run:

make test

If no errors occur, then you are fine.

To run this package, check out the calls in the Makefile for 
blob_test and text_text targets, or just type:

java BlobTool

This will give you the following usage text...

Usage: java BlobTool -<i|u|s> filename dbstring userstring table\
	blobcol [-k keycol keyval]
where
	-[i|u|s]: Insert, Update or Select operation
	filename: Name of file to unload to or load from 
		(- = STDOUT for unload only.)
	dbstring: host:port/database_name@informixserver
	userstring: db_user/db_pass
	table: Table name
	blobcol: BLOB Column name
	-k keycol keyval: can be specified 0 or more times
		Translates to WHERE keycol=keyval AND ...

Source: README, updated 2020-05-11