what is pointer in cobol what situation i am using pointer

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
mainframe5
Active Member
Posts: 59
Joined: Tue Jul 24, 2007 7:25 pm

what is pointer in cobol what situation i am using pointer

Post by mainframe5 » Tue Oct 07, 2008 7:03 pm

what is pointer in cobol what situation i am using pointer please give me a example.thanks

User avatar
JACK
Member
Posts: 20
Joined: Mon Jan 30, 2006 6:18 am

Post by JACK » Wed Oct 22, 2008 12:29 pm

Pointer data items may contain virtual storage addresses. You define them explicitly with the USAGE IS POINTER clause in the Data Division.

Pointer data items can be:
- Passed between programs
- Moved to other pointers (Using SET statement)

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others