db2: view date error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jakey2415
Participant
Posts: 7
Joined: Tue Feb 26, 2008 7:09 pm

db2: view date error

Post by jakey2415 »

Database: DB2 9.4
Datastage Server: Ascential 7.5.2 hp_ux
Datastage client: on windows XP
Connectivity: DB2 connect

db2 stage view data:
Error executing View Data command:

##E TNDB 000227 10:39:42(000) <DBA_b_scard> The getpwnam() function failed for the DB2INSTANCE environment variable
yeah
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

I have the same problem.

did any one of you found the solution for this?

Job Description. accessing the DB2 which is on a remote server.

The getpwnam() function failed for the DB2INSTANCE environment variable
value of `hq-exxxxxx-x' due to Unix error `No such process'; this most probably means that `hq-exxxxxx-x'
is not a valid login name on the current machine and hence getpwnam() cannot
be used to find the home directory of the db2instance; setting the environment
variable APT_DB2INSTANCE_HOME to point to the appropriate db2instance home
directory should solve the problem.


Regards,
Regards,
Shree
785-816-0728
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is the host name to IP address mapping available (can you ping the hostname)? If not, make it available in the hosts file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

Yes I can ping the Host from my UNIX box.
Regards,
Shree
785-816-0728
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

Hi

To that matter I am also able to import the metadata from the data Base.

Regards,
Regards,
Shree
785-816-0728
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

Now once I have set up the rsh between the two servers I am getting the following error


">This is usually due to a configuration error, such as
>not having the Orchestrate install directory properly
>mounted on all nodes, rsh permissions not correctly
>set (via /etc/hosts.equiv or .rhosts), or running from
>a directory that is not mounted on all nodes. Look for
>error messages in the preceding output."

I am able to successfully test the rsh between the Db2 server and ETL Server (Where Data Stage is installed.)
Regards,
Shree
785-816-0728
Post Reply