s390guy / vm370

35 stars 10 forks source link

NUCEXT and SUBCOM macros require NAME= on MF=L form #102

Open RossPatterson opened 1 month ago

RossPatterson commented 1 month ago

The NUCEXT and SUBCOM macros should not require any parameters besides the operation type when coded with the list form (i.e., MF=L). The NAME= is incorrectly required for all operations except ANCHOR (for which it is forbidden).

RossPatterson commented 1 month ago

Fix is:

NUCEXT AUXLCL and SUBCOM AUXLCL (both):

RAP007DS MF=L shouldn't require parameters.

NUCEXT RAP007DS and SUBCOM RAP007DS (both):

* * * Top of file * * *
./ D  00830000 00830000 $
./ R  00850000 00890000 $
         AIF   (NOT &ANCH).PRMCHK3                             RAP007DS
&ERRPRM  SETC  'NAME='                                         RAP007DS
./ R  00910000 00920000 $
.PRMCHK3 ANOP                                                  RAP007DS
.*                                                             RAP007DS
.* NAME operand is required by all types except ANCHOR         RAP007DS
.*                                                             RAP007DS
         AIF   (&ANCH).PRMCHK4                                 RAP007DS
         AIF   (&MFL OR &MFLC).PRMCHK4  Nothing is required for MF=L
&ERRPRM  SETC  'NAME='                                         RAP007DS
         AIF   (T'&NAME EQ 'O').ERR4                           RAP007DS
.PRMCHK4 ANOP                                                  RAP007DS