Page 1 of 1

What AMODE is in use?

Posted: Mon Sep 08, 2014 5:34 pm
by pravin kumar
Hi,

I'm looking at the compile listing of a program and found two occurances of the AMODE as following:

Code: Select all

*** O P E R A T I O N   S U M M A R Y   R E P O R T *** 

PROCESSING OPTIONS:
.
ALIGN2              NO         
AMODE               UNSPECIFIED
CALL                YES        
CASE                UPPER      
COMPAT              UNSPECIFIED
COMPRESS            AUTO       
DCBS                NO         
DYNAM               NO         
EXTATTR             UNSPECIFIED
EXITS:              NONE       
FILL                NONE       
GID                 UNSPECIFIED
.
and later like this:

Code: Select all

SAVE MODULE ATTRIBUTES:    
                           
   AC                  000 
   AMODE                31 
   COMPRESSION         NONE
   DC                  NO  
   EDITABLE            YES 
.
.
How should I determine which AMODE is in use at execution time?

Re: What AMODE is in use?

Posted: Mon Sep 08, 2014 5:56 pm
by enrico-sorichetti
AMODE UNSPECIFIED ==> You did not tell

AMODE 31 ==> the default was used

anyway what counts is the AMODE of the LOAD MODULE as set by the linkage editor/binder

Re: What AMODE is in use?

Posted: Tue Sep 09, 2014 12:32 pm
by pravin kumar
enrico-sorichetti wrote:AMODE UNSPECIFIED ==> You did not tell
Please help me t understand this, i didnot quiote follow you. This is from a compile listing of a production program, I happened to see which written years back. As they use ISPW here, I think they have defined it in that. I mean I'll never see the JCL which was used but if I don't have that handy what is the best way to understand what was used while compiling?

Re: What AMODE is in use?

Posted: Sat Jan 17, 2015 7:07 pm
by pravin kumar
Is this an unanswerable outside my company?