IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CSECT not found error in batch bind


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sanghani Sanjay

New User


Joined: 28 Oct 2009
Posts: 2
Location: India

PostPosted: Sat Feb 06, 2010 4:20 pm
Reply with quote

Hi!

I am getting ERROR!! CSECT {Programe Name} NOT FOUND IN LOAD MODULE {Program Name} while binding the program to database. Bind card looks alright to me. Can anyone help please?


Thanks,
Sanjay
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sat Feb 06, 2010 5:07 pm
Reply with quote

Interesting problem, especially without showing us anything.
Back to top
View user's profile Send private message
Sanghani Sanjay

New User


Joined: 28 Oct 2009
Posts: 2
Location: India

PostPosted: Sat Feb 06, 2010 5:20 pm
Reply with quote

@PeterHollan,

I can not put any screenshots here because of some security restrictions but here is some more on this.

I have a simple batch module which performs say INSERT, DELETE and SELECT on a DB2 table. I am using ENDEVOR as a configuration management of code. I have added my source code sucessfully with MaxCc 0 compile (Load and DBRM sucessfully created). Now I am trying to bind the same to the database using a bind a card so that it can connect to the required table in DB2, but it is failing with above mentioned error. I hope this gives some idea.

I have similar about 30 programs (for 30 different tables), 28 are working well and two are giving this error. icon_confused.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sat Feb 06, 2010 7:46 pm
Reply with quote

Probably because the csect "Program Name" was not found in the load module "Program Name".... i.e., an external label that is being referenced to can not be found in the program that it was expected to be contained in.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Feb 06, 2010 8:55 pm
Reply with quote

Quote:
I can not put any screenshots here because of some security restrictions but here is some more on this.


did You ever hear of data obfuscation??
post the screenshots after having substituted the sensitive info with neutral char patterns.

if this is still unacceptable, then the best source for help would be Your support, not a public forum!
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sat Feb 06, 2010 9:04 pm
Reply with quote

If these are COBOL programs is the PROGRAM-ID correct?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Feb 06, 2010 11:13 pm
Reply with quote

Quote:
Can anyone help please?


it would have been nice if You had posted the whole message, prefix and number included

it would have been clear who the issuer was,
and it would have been easier for everybody you included to look up the message in the manuals
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
Search our Forums:

Back to Top