COBOL Link Edit in Standalone Code

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
biswaranjan
Member
Posts: 20
Joined: Thu Aug 28, 2008 10:41 am

COBOL Link Edit in Standalone Code

Post by biswaranjan » Mon Aug 24, 2009 3:25 pm

Hi,

Is it necessary to have Link/Edit Step (during compilation process) for single program.

For. Ex.
Program A is being compiled (its having no called or calling program linked to it)
During compilation is it require Link/Edit step to be present. We do have Link Card while compiling such stand-alone programs. Why???

Thanks,
Biswa.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Aug 26, 2009 10:30 am

Do you mean "link libraries" are needed only when you need CALL (or "link", to use your term) another program? :shock:
Regards,
Anuj

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

Post by dbzTHEdinosauer » Wed Aug 26, 2009 1:03 pm

yes,
the link-edit (binder) step makes an executable load module from an object.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

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