Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CSECT not found error in batch bind

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: CSECT not found error in batch bind
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Sat Feb 06, 2010 5:07 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Sat Feb 06, 2010 7:46 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Sat Feb 06, 2010 8:55 pm    Post subject: Reply to: CSECT not found error in batch bind
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Sat Feb 06, 2010 11:13 pm    Post subject: Reply to: CSECT not found error in batch bind
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us