Page 1 of 1

Significance of following compile options

PostPosted: Fri Aug 02, 2013 6:09 pm
by sinmani
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.

Re: Significance of following compile options

PostPosted: Fri Aug 02, 2013 6:31 pm
by BillyBoyo
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?

Re: Significance of following compile options

PostPosted: Fri Aug 02, 2013 6:51 pm
by sinmani
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.

Re: Significance of following compile options

PostPosted: Fri Aug 02, 2013 8:59 pm
by Robert Sample
The linkage editor / binder options you listed coiuild cause storage violations depending upon the program and what it is doing.

Re: Significance of following compile options

PostPosted: Sun Aug 04, 2013 11:52 am
by sinmani
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