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

Binding Cobol Db2 Program


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
K_SUBBARAO

New User


Joined: 26 Apr 2005
Posts: 1
Location: Bangalore

PostPosted: Tue Apr 26, 2005 2:07 pm
Reply with quote

:|
When i try to bind a Cobol Db2 program I'am getting Authorisation error
when check with system admin he says authorisation is given but syntax error gives authorisation erroris it true.
Compile is ok with maxcc=0
Back to top
View user's profile Send private message
vaduri

New User


Joined: 19 Apr 2005
Posts: 2
Location: Hyderabad

PostPosted: Tue Apr 26, 2005 3:06 pm
Reply with quote

Is it saying
-DB2T BIND SQL ERROR
USING ****** AUTHORITY ???

It is not actually the problem with the access.
You can find out the exact problem with the help of SQLCODE, SQLSTATEMENT and Last but not least the TOKENS.
For example, if the column in the table EMP_NO and you have coded your program as SELECT EMP-NO ...., then the bind step will return the error with relevant SQLCODE and STATEMENT number and the TOKEN as EMP-NO.


Vamsi.......
"Life is a do-yourself project "
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top