Page 1 of 1

Dataset handling

Posted: Thu Oct 28, 2004 10:14 pm
by sandy
Hi All,

I am not able to use the dsrecords or orchadmin utility for handling datasets from the unix prompt. I get the following error :

ksh: dsrecords: not found.

and

ksh: orchadmin: not found.

Can somebody guide me giving a step by step procedure for any setup to be done prior to using these dataset handling utilities? I am trying to use these utilities for viewing the number of records in a dataset and get a dump of the dataset into a sequential file.

Thanks in Advance, Any help is much appreciated.

Regards.

Posted: Thu Oct 28, 2004 10:16 pm
by ray.wurlod
Is the directory containing these commands mentioned in your PATH environment variable?

Posted: Thu Oct 28, 2004 10:29 pm
by sandy
Hi Ray,

PATH environment variable is set to /usr:/usr/bin:/usr/vacpp:/usr/vacpp/bin in my project directory and these directories do not have dsrecords as well as orchadmin utilities under them.

What do u suggest I do now?

Thanks for your quick reply.

Posted: Tue Nov 02, 2004 12:53 pm
by gh_amitava
Hi,

You have to include the directory in path variable. Otherwise it will not execute.

Regards
Amitava

Posted: Sun Nov 07, 2004 10:05 pm
by sandy
Hi Amitava,

That was the obvious thing to do I guess :D . Did that, but it still does not work. Throws me the following message :

exec(): 0509-036 Cannot load program orchadmin because of the following errors:
0509-150 Dependent module /home/db2inst1/sqllib/lib/librwtool.a(librwtool.o) could not be loaded.
0509-152 Member librwtool.o is not found in archive

Any idea about this error?