DB2 EE Stage. Error bind file name is not valid

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
vicmania
Participant
Posts: 7
Joined: Tue Sep 12, 2006 10:47 am

DB2 EE Stage. Error bind file name is not valid

Post by vicmania »

Hello,

I have some jobs that are writing data to db2 with an DB2 EE Stage. As long as I use the execution mode parallel I receive the following error:

main_program: DB2 Get Table Partitioning Information.
main_program: SQLCODE = 2; SQLSTATE=
main_program: SQL0002N The bind file name is not valid.
main_program: Fatal Error: DB2 Get Table Partitioning Information error;
table name: `VKBP4.DW_SONST_VTG_P_BEZ ', return code `0'; sqlcode `2', pmaplen = 0.

As i assume this means it can not read the partioning information for that table. The moment I switch to sequential execution mode the job runs fine. I have no clue how to solve the problem.
Any ideas?

Thanks vicmania
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

DB2 EE works on partitioned database, is the databse partitioned.Check with your DBA also.
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi

I think the table is not having any table partitions.You need to check with your database admin.
main_program: DB2 Get Table Partitioning Information.
main_program: SQLCODE = 2; SQLSTATE=
main_program: SQL0002N The bind file name is not valid.
main_program: Fatal Error: DB2 Get Table Partitioning Information error;
table name: `VKBP4.DW_SONST_VTG_P_BEZ ', return code `0'; sqlcode `2', pmaplen = 0.-
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you executed bind20 as part of setting up DB2 connectivity?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vicmania
Participant
Posts: 7
Joined: Tue Sep 12, 2006 10:47 am

Post by vicmania »

Hello Ray,

the bind20 is only for ODBC connections -or? We are using the DB2 UDB EE Stage. Do you need to run bind20 for native connections?

Thanks vicmania
vicmania
Participant
Posts: 7
Joined: Tue Sep 12, 2006 10:47 am

Post by vicmania »

Hello,

yes the database is partioned. And I have other jobs using other tables where I also write/ read in parallel - whitout any problem ...

vicmania
Post Reply