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
amolpawar
Member
Posts: 25
Joined: Mon Jun 29, 2009 2:52 pm

COBOL

Post by amolpawar » Thu Jul 16, 2009 10:31 am

Hi,

I am using changeman for staging the cobol program.
After compilation i got SRC and LOD componets in changeman package,
What are these Components and what is the difference between these components.
Please help me !

Thanks,
Amol Pawar.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Thu Jul 16, 2009 10:37 am

SRC should be the COBOL source, where you will do the modifications.
LOAD module is the component created after compilation.

Normally LOAD module wont apear in the changeman package.
It will be placed in change man pds.

If you are seeing this load module in online changeman mode, then
you need to contact your changeman help desk.
Natarajan
Chennai

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

Post by Anuj Dhawan » Fri Jul 17, 2009 2:48 pm

Why to double post the same question -- http://www.mainframegurukul.com/Mainfra ... php?t=4293
Regards,
Anuj

davisjackson
Member
Posts: 1
Joined: Tue Aug 04, 2009 10:15 am

NEED TO KNOW

Post by davisjackson » Wed Aug 05, 2009 11:54 am

My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not abend. What is wrong with it?

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

Post by dbzTHEdinosauer » Wed Aug 05, 2009 12:19 pm

why should it abend? are you using the SSRANGE compiler option?
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

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

Post by Anuj Dhawan » Mon Aug 10, 2009 6:22 pm

The IBM COBOL compiler defaults to NOSSRANGE (no subscript range) to avoid performance problems. So even if you fed index greater than tables range your program will not abend.

If you want your program to abend on index greater than tables range you have to give compiler option SSRANGE.
Regards,
Anuj

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