Gil, You are correct. I think AMODE(31), RMODE(24) and DATA(31), provided "RENT" is turned on. Otherwise, without RENT, then working storage would be loaded with the program, thus RMODE.
Jerry -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Friday, January 25, 2019 3:30 PM To: [email protected] Subject: Re: Are there compiler options to move Working Storage in Cobol above the line? On Fri, 25 Jan 2019 19:47:23 +0000, Edgington, Jerry wrote: > >For Cobol, the DATA parm determines where the work storage is loaded. >DATA(31) means it will attempt to loaded above the line. However, the program >must also be at least RMODE(31) or ANY. And if during the compile, there is >any modules still in 24 mode, then the entire module will be 24 mode. > >Everything in the loam module must be 31, along with the DATA(31) to be in 31 >mode. > Why the need for RMODE(31)? I'd expect AMODE(31) to suffice with RMODE(24). -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
