Significance of following compile options

Serena's Software Change Management utility:Changeman ZMF: Application change, upgrade control and LifeCycle Management
sinmani
Posts: 93
Joined: Thu Mar 22, 2012 10:02 am
Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS
Referer: INTERNET

Significance of following compile options

Postby sinmani » Fri Aug 02, 2013 6:09 pm

Hi Forum,

I was getting ASRA Abend while executing my COBOL - CICS Program when I was not giving the folowing Options.
COMPILE PARMS ===> MAP,LIST,XREF
LINK EDIT PARMS ===> RENT,REUS,AMODE=31,RMODE=ANY

Though most of the other programs having the same functionality did not give me any problems.

When I gave the following options everything is working fine now.

Now I am not sure how do these parameters managed to remove ASRA Abend.

By the way the ASRA abend was coming in a statement setting address of some variable.

Can anyone explain.
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well

BillyBoyo
Global moderator
Posts: 3805
Joined: Tue Jan 25, 2011 12:02 am
Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
Referer: Google

Re: Significance of following compile options

Postby BillyBoyo » Fri Aug 02, 2013 6:31 pm

Those compile options only affect the compile listing, not the code generated, so they caused/fixed nothing.

What were the Linkedit options before they were changed?

sinmani
Posts: 93
Joined: Thu Mar 22, 2012 10:02 am
Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS
Referer: INTERNET

Re: Significance of following compile options

Postby sinmani » Fri Aug 02, 2013 6:51 pm

BillyBoyo wrote:Those compile options only affect the compile listing, not the code generated, so they caused/fixed nothing.

What were the Linkedit options before they were changed?


Yes Billy , Thats what I thought.....that problem if any should have come while compiling itself.

I had them blank when I was getting Abend.
Though even with blank it worked for 10-15 programs before I got stuck with this one and tried with these options when it worked.
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: Significance of following compile options

Postby Robert Sample » Fri Aug 02, 2013 8:59 pm

The linkage editor / binder options you listed coiuild cause storage violations depending upon the program and what it is doing.

sinmani
Posts: 93
Joined: Thu Mar 22, 2012 10:02 am
Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS
Referer: INTERNET

Re: Significance of following compile options

Postby sinmani » Sun Aug 04, 2013 11:52 am

Robert Sample wrote:The linkage editor / binder options you listed coiuild cause storage violations depending upon the program and what it is doing.


Ok.... Yes I think the violations must have been while setting address of some Variable. The lack of these options might be effecting the addressabiltiy
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well


  • Similar Topics
    Replies
    Views
    Last post