Handling SQLCODE -811.

All sort of Mainframes Interview Questions.
Post Reply
RajuRastogi
New Member
Posts: 3
Joined: Thu Apr 14, 2016 4:37 pm

Handling SQLCODE -811.

Post by RajuRastogi »

Hi,

Is it possible that SQLCODE -811 occurs, even though cursor has been defined?

I know cursor is defined to handle -811 but can it still occur ina program even if cursor has been defined?

I don't know why would it happen,if it happens. Can somepme please asnwer me about this.
Chandan Yadav
Website Team
Website Team
Posts: 70
Joined: Wed Jul 31, 2013 10:19 pm

Re: Handling SQLCODE -811.

Post by Chandan Yadav »

It should not happen. Can you please post your SQL and cursor declaration where you are getting -811

Thanks,
Chandan
User avatar
Anuj Dhawan
Founder
Posts: 2799
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Handling SQLCODE -811.

Post by Anuj Dhawan »

It's an interview question I doubt he'd be able to post the SQL.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
RajuRastogi
New Member
Posts: 3
Joined: Thu Apr 14, 2016 4:37 pm

Re: Handling SQLCODE -811.

Post by RajuRastogi »

Yes. I have been asked in an interview that Is it possible that SQLCODE -811 occurs, even though cursor has been defined?
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”