SQLAllocHandle

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
bikan
Premium Member
Premium Member
Posts: 128
Joined: Thu Jun 08, 2006 5:27 am

SQLAllocHandle

Post by bikan »

I am getting following error

SQLAllocHandle: Failed to allocate environment handle 'ENV'.

when reading from db2 table

my query looks
SELECT column list....
FROM #Environmnet variable#Table A E, #Environmnet variable#Table B I
WHERE condition;
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you explain the actual variable name and value at runtime, since the spelling of
#Environmnet variable#
doesn't look quite right?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Failed to allocate environment handle is typically indicative of one of two things - that the server does not have enough memory to undertake setting up an ODBC environment, or that the ODBC driver manager could not be found. These, therefore, should be the first areas that you investigate.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply