On Fri, Sep 27, 2013 at 9:42 AM, Mike Schwab <[email protected]>wrote:
> Probably got 31 bit code instead of 24 bit only code.
>
>
The change is this:
SYSSTATE ARCHLVL=2 yields:
GETMAIN RU,LV=(0),SP=0,LOC=(24,64) GETMAIN WORKAREA
+ DS 0H @P5C
01-GETM
+IHB0005C DS 0H
01-GETM
+ L 15,=AL1(B'00010000',(0),(0),B'01010010')
X01-GETM
+ LOAD GETMAIN
PARMS
+ SR 1,1 ZERO RESERVED REG 1
01-GETM
+ SVC 120 ISSUE GETMAIN SVC
01-GETM
instead of:
GETMAIN RU,LV=(0),SP=0,LOC=(24,64) GETMAIN WORKAREA
+ CNOP 0,4
01-GETM
+ B IHB0004C BRANCH AROUND DATA
01-GETM
+IHB0004F DC BL1'00010000' Flags. @L7C
01-GETM
+ DC AL1(0) RESERVED
01-GETM
+ DC AL1(0) SUBPOOL
01-GETM
+ DC BL1'01010010' MODE BYTE @G860P30
01-GETM
+IHB0004C DS 0H
01-GETM
+ L 15,IHB0004F LOAD GETMAIN PARMS
01-GETM
+ SR 1,1 ZERO RESERVED REG 1
01-GETM
+ SVC 120 ISSUE GETMAIN SVC
01-GETM
--
Manfred
> On Fri, Sep 27, 2013 at 2:35 AM, Manfred Lotz
> <[email protected]> wrote:
> > On Thu, Sep 26, 2013 at 10:01 PM, Ed Jaffe <[email protected]
> >wrote:
> >
> >> On 9/26/2013 2:51 AM, Manfred Lotz wrote:
> >>
> >>> Hi all,
> >>> I've got a very old assembler program which still has a
> >>> SPLEVEL SET=2
> >>> statement at the beginning.
> >>>
> >>> I think that these days this is obsolete and should be removed.
> >>>
> >>
> >> FWIW, we use this:
> >>
> >> SPLEVEL SET=6 Specify OS/390 R2 macro format
> >> SYSSTATE ARCHLVL=2 Program requires z/Architecture
> >> SYSSTATE OSREL=ZOSV1R9 Program requires z/OS 1.9 and higher
> >>
> >>
> >
> > Thanks for this. This looks good, and I guess I will use it for new
> > programs.
> >
> > However, I'm reluctant to use SYSSTATE ARCHLVL=2 in the existing source
> > as it seems to create different code for some macros (e.g., GETMAIN).
> > Perhaps I'm too cautious.I checked the SPLEVEL SET=6 for my source and it
> > didn't change anything (I compared the assembler listings).
> >
> > --
> > Manfred
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
>
>
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
>
> ----------------------------------------------------------------------
> 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