COBOL can implement pointers and linked list?

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Rohit Jain
Registered Member
Posts: 16
Joined: Mon Oct 27, 2014 8:30 am

COBOL can implement pointers and linked list?

Post by Rohit Jain »

Hi,

I am curious to know if COBOL can implement pointers and linked list just as we do it in C programming? I'm working with is openCobol.

Thank you for any direction
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: COBOL can implement pointers and linked list?

Post by Robert Sample »

Look in the Programmer's Guide for your version of Gnu COBOL (Open COBOL) at the USAGE POINTER clause and the SET ADDRESS OF statement.
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 “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”