What is AMODE31 and RMODE, ANY?



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

What is AMODE31 and RMODE, ANY?

Postby ganeshjayabalan » Sun Feb 28, 2016 6:41 pm

What is AMODE31 and RMODE, ANY? During cobol program compilation and COBOL-CICS-DB2 compilation ?
ganeshjayabalan
 
Posts: 4
Joined: Sat Feb 20, 2016 10:56 pm
Location: Bangalore
Has thanked: 0 time
Been thanked: 0 time

Re: What is AMODE31 and RMODE, ANY?

Postby steve-myers » Sun Feb 28, 2016 9:12 pm

In z/OS there are three “types” of storage, depending on the address of the storage -
  • Storage with addresses from 0 to FFFFFF
  • Storage with addresses from 1000000 to 7FFFFFFF
  • Storage with addresses greater than 100000000
The address 1000000 is referred to as the “line,” the address 80000000 is referred to as the “bar.”

The term AMODE specifies the “addressing mode” for the module; the number of bits the module can use to address storage. The term “RMODE” refers to the “residency mode,” the location in storage where the module can be loaded.

AMODE 24 means the module uses 24 bits to address storage below the line. These programs were written to run in System/360. AMODE 31 means the module uses 31 bits to address storage below the “bar.” Rarely seen are AMODE 64 programs.

RMODE 24 programs must be loaded in storage below the line. These programs were written for OS/360, or they contain data areas, such as a DCB, that must be below the line to be used.

RMODE ANY programs can be loaded into any storage address below the “bar.” They are usually loaded above the “line,” but they can be loaded below the “line” if no above the line storage is available.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: What is AMODE31 and RMODE, ANY?

Postby ganeshjayabalan » Mon Feb 29, 2016 1:15 pm

Thanks steve-myers
ganeshjayabalan
 
Posts: 4
Joined: Sat Feb 20, 2016 10:56 pm
Location: Bangalore
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post