Hi,
When should we think about using pointers in COBOL? Is there a situation which can not be solved without pointers? I did look at some documentation https://www.ibm.com/support/knowledgece ... finpnt.htm but I am not sure if I got the answer yet. Could someone please share his experience if they have used this?
Pointers in COBOL.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Pointers in COBOL.
If you want to access z/OS control blocks and their data, you cannot do this without using pointers. There are few circumstances in COBOL for which pointers are absolutely required, but accessing control blocks is one of them.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Pointers in COBOL.
the link You posted is for AS/400 cobol
while COBOL is mostly platform independent, the part concerning pointer is not
for zOS see an example here
http://www-01.ibm.com/support/docview.w ... wg21392963
while COBOL is mostly platform independent, the part concerning pointer is not
for zOS see an example here
http://www-01.ibm.com/support/docview.w ... wg21392963
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
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