If you do a GETMAIN for your save area then it's trivial to put your local
variables after it and, voila, recursion. There were lots of prolog/epilog
macro pairs floating around independent of the control structure macro packages.
Yes, one set of macros for structured assembler was listed in SHARE PROGRAM
LIBRARY AGENCY User's Guide and Catalog of Programs 1977 EDITION:
360D-99.0.009
PROGRAM COLLECTION: STRUCTURED PROGRAMMING, UTILITIES,
TRANSLATORS, SIMULATOR, HASP MODIFICATIONS, AND MACROS
AUTHOR: DONALD S. HIGGINS
DIRECT TECHNICAL INQUIRIES TO:
MR. DONALD S. HIGGINS
B-3
FLORIDA POWER CORPORATION
P.O. BO X 140 42
ST. PETERSBURG, FL 33733
DESCRIPTION - THE FOLLOWING CCLLECTION OF PROGRAMS ARE
INCLUDED IN A SINGLE DISTRIBUTION PACKAGE:
GENERAL PURPOSE ASSEMBLER MACROS - SUBENTRY + SUBEXIT,
STANDARD LINKAGE WITH REENTRANT OPTIONS; EDIT PACKED DATA
USING A MASK; EQUAL, COMMONLY USED EQU'S; PERFORM, PENTRY,
PEXIT - STRUCTURED PROGRAMMING BLOCK CONCATENATION USING NO
REGISTERS; IF, ELSE, FI - STURCTURED PROGRAMMING ALTERNATE
BLOCK SELECTION; DOCASE, CASE, ESAC, ESACOD - STRUCTURED
PROGRAMMING MULTIPLE ALTERNATE BLOCK SELECTION; ACCEPT +
DISPLAY SIMPLIFIED I/O; DCWV - DEFINE V TYPE ADDRESS FOR
DYNAMIC SUBROUTINES.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Joel C. Ewing [[email protected]]
Sent: Wednesday, April 29, 2020 7:10 PM
To: [email protected]
Subject: Re: C
I think many places had various forms of structured macros for Assembler
during the 1980's. I believe there was eventually even a set that was
distributed, either from IBM or at SHARE. Our set of structured macros
included support for PROCs with "local" variables and PROC return info
on a stack so it was trivial to write assembler code that permitted
recursion.
JC Ewing
On 4/29/20 5:04 PM, Wayne Driscoll wrote:
> At that time NIU, located about 90 minutes west of Chicago made available a
> set of assembler macros that provided structured programming constructs, as
> many Chicago area IT organizations hired from NIU, many used these macros.
>
> Wayne Driscoll
> Rocket Software
> Note - All opinions are strictly my own.
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
> Mike Schwab
> Sent: Sunday, April 26, 2020 12:25 PM
> To: [email protected]
> Subject: Re: C
>
> EXTERNAL EMAIL
>
>
>
>
>
> I was doing an internship in the Chicago area during the summer of 1984.
> They were using an assembler with IF macros.
>
> On Sun, Apr 26, 2020 at 2:11 PM Seymour J Metz <[email protected]> wrote:
>> HLASM in 1980? Not before June 1992. I assume that you were using XF
>> and H, possibly with the SLAC mods on the latter (thank you, Greg and
>> John.)
>>
>>
>> --
>> Shmuel (Seymour J.) Metz
>> https://nam01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.g
>> mu.edu%2F~smetz3&data=02%7C01%7C%7C1dfd83889d9d4a9127a108d7ea06d7f
>> 5%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C637235187442674475&
>> sdata=nRSQMjThQ3ncTFLzDDyfUbha0VX2cE2c9VHizXJr2uU%3D&reserved=0
>>
>> ________________________________________
>> From: IBM Mainframe Discussion List [[email protected]] on
>> behalf of Donald Blake [[email protected]]
>> Sent: Sunday, April 26, 2020 8:51 AM
>> To: [email protected]
>> Subject: C
>>
>> I took my first C course in 1980. The text was the original *The C
>> programming Language* by Kerrigan and Richie, which I still have on my
>> shelf, The text is copyright 1978. That's 42 years ago. I was an IBM
>> HL Assembler programmer at the time. BTW ... we still were using
>> IFOX00 at the time as well.
>>
>>> Hey, it's not politically correct to point out how old C is.
>>>
>>>
>>> --
>>> Shmuel (Seymour J.) Metz
>>> https://nam01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason
>>> .gmu.edu%2F~smetz3&data=02%7C01%7C%7C1dfd83889d9d4a9127a108d7ea0
>>> 6d7f5%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C63723518744267447
>>> 5&sdata=nRSQMjThQ3ncTFLzDDyfUbha0VX2cE2c9VHizXJr2uU%3D&reser
>>> ved=0
>>>
>> ...
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
> ...
--
Joel C. Ewing
----------------------------------------------------------------------
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