Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Getting error while Declaring Cursor in COBOL
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Wed Apr 11, 2012 8:27 pm    Post subject: Reply to: Getting error while Declaring Cursor in COBOL
Reply with quote

Since clicking the link didn't work, in that it attempted to take you to a site which doesn't exist, why didn't you copy/paste what you could see, or even retype it in that boxy-looking thing at the top of the screen. The URL is valid, it was just formatted incorrectly in the post.

Don't be afraid to try things. May tell you something. May not. If you don't try it, it definitely won't tell you anything. This has quite general application.

Things not to try included pressing the Emergency Stop on the CPU, stepping off the top of Fire Escapes etc. If it seems highly unlikely to cause any problem (like typing a URL) then give it a go.
Back to top
View user's profile Send private message

vishalbshah

New User


Joined: 01 Dec 2006
Posts: 61
Location: Pune

PostPosted: Wed Apr 11, 2012 8:33 pm    Post subject:
Reply with quote

Hi Bill,

I tried the Copy paste of the link eventually and found the answer to my question but i think our replies are too faster.

As I am in the Office premises, so when the link didn't work while clicking on it I thought the link might be of one of the "blocked" sites and so I should not open it.

Anyway, I am appearing for COBOL and JCL exam in a month's time. so I want to read more and more documents on these subjects.

I thank you both !
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19254
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2012 10:39 pm    Post subject:
Reply with quote

Hello,

I don't know if this matters (and i'm not able to test this now), but this is the first time i've noticed a cursor declared WITH HOLD and then later in the same declaration having FOR READ ONLY specified icon_confused.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Wed Apr 11, 2012 11:13 pm    Post subject:
Reply with quote

as more and more db2 programmers
finally
learned that they needed to commit read-only cursors, also,
the requirement for WITH HOLD and FOR READ ONLY became common.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19254
Location: Inside the Matrix

PostPosted: Thu Apr 12, 2012 12:02 am    Post subject: Reply to: Getting error while Declaring Cursor in COBOL
Reply with quote

Thank you, kind sir icon_smile.gif

I Will learn more of this. . .

d
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 -> COBOL Programming All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CALL statement in COBOL for VSE Kirthishine COBOL Programming 1 Fri Jun 26, 2020 12:12 pm
No new posts Force a Return Code and print error m... Rick Ryan SYNCSORT 30 Thu Jun 25, 2020 1:18 am
No new posts Seeking Resolution for SQKCODE -991 o... tgwacker50 DB2 2 Mon Jun 22, 2020 8:25 pm
No new posts Multiple rows within Cursor when Coun... iamdijkstra007 DB2 14 Mon Jun 08, 2020 12:53 am
No new posts Question for Cobol Report Writer jackzhang75 COBOL Programming 3 Wed May 27, 2020 4:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us