Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - Macrosprache für COBOL mit Hilfe des ASSEMBLERs?

Subject:

Re: Conditional assembly for COBOL?

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2011.11.18 19:51:25


> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of P.G.
> Sent: 18 November 2011 16:37
> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
> Subject: Re: Conditional assembly for COBOL?
>
>
>
> On Nov 17, 2011, at 14:35, Bernd Oppolzer wrote:
>
> > The PL/1 preprocessor is IMHO the most powerful tool to do such things,
> > but maybe you don't have it, if you have no PL/1 licensed.
> >
> > The ASSEMBLER macro processor will not work, because you cannot
> > extract the result and send it to the COBOL compiler, AFAIK.
> >
> > The C preprocessor would work, if you have it. I believe that C belongs to
> > z/OS, so you don't need to license it. But the C preprocessor is very simple
> > and somewhat restricted. Don't know if it serves your needs.
> >
>
> I believe that LE is now the C runtime environment, so you can
> run compiled programs without licensing C.  C itself is priced
> separately, and I suspect this applies to the preprocessor.
>

Dave Pitts has os/390 & MVS ports of GCC that run with LE

http://www.cozx.com/~dpitts/gcc.html

> > So maybe you will have to write your own. This can be done using REXX or
> > C or any other language - even COBOL. I would use C, others maybe REXX.
>
> Or use existing art:
>
>     http://en.wikipedia.org/wiki/M4_%28computer_language%29
>
> -- G.
>
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie