COBOL

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
pandian_ak
Member
Posts: 2
Joined: Fri Nov 24, 2006 7:50 pm

COBOL

Post by pandian_ak » Sun Nov 26, 2006 7:17 pm

Hi All ,

INITIALIZE clsuse can be used in LINKAGE-SECTION ?

plz answer with simle example.

Regards,

AKP.

User avatar
guptae
Member
Posts: 8
Joined: Thu Nov 23, 2006 11:28 am
Location: Bangalore,India

Post by guptae » Tue Nov 28, 2006 10:20 am

Hi pandian_ak

What do u mean by that ?
R u want to know whether we can intialize linkage section variable.

pandian_ak
Member
Posts: 2
Joined: Fri Nov 24, 2006 7:50 pm

Post by pandian_ak » Fri Dec 01, 2006 3:23 pm

Yes , Guptae !!

can we initialize the variable in LINKAGE SECTION ?

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Fri Dec 01, 2006 4:42 pm

yes you can have an INITIALIZE verb with a LINKAGE Section item as reference.

be sure to properly set the addressability of the LINKAGE Section item with either a 'SET ADDRESS of AREA to POINTER' or reference the area in the 'PROCEDURE DIVISION USING' list.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

academyindia4

Topic deleted by Admin

Post by academyindia4 » Fri Jan 15, 2016 9:11 pm

<< Content deleted By Admin >>

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