Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help with onpladm and named pipe

0 views
Skip to first unread message

Floyd Wellershaus

unread,
Nov 11, 2008, 1:24:42 PM11/11/08
to inform...@iiug.org
Hello,
  I am trying to unload directly to a gzipped file with hp loader.
So I'm setting up an array like below.
This is the file called myarray.devarr:

BEGIN OBJECT DEVICEARRAY myarray

BEGIN SEQUENCE
TYPE PIPE
FILE
TAPEBLOCKSIZE 0
TAPEDEVICESIZE 0
PIPECOMMAND "gzip > /u/floydw/working/file1.gz "
END SEQUENCE

END OBJECT

Then I create the array by using onpladm -create object -F myarray.devarr
onpladm create job job1 -d myarray -D sentryprod -t proc_reg -fu

Then I create the job, which points to that array ( called myarray)

then I run the job like:
onpladm run job job1 -fu

The problem is that the output is to a file in /u/floydw/working called myarray. It should be to a zipped file called file1.gz.

What am I missing here ?

Thanks,
floyd


Floyd Wellershaus

unread,
Nov 11, 2008, 1:34:31 PM11/11/08
to fl...@fwellers.com, inform...@iiug.org

Sorry, I figured it out.
To create the job , not to use -fu, but -fua.

Thanks.


_______________________________________________
Informix-list mailing list
Inform...@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
0 new messages