Re: C-preprocessor for COBOL?

From: Arnold Trembley (arnold.trembley_at_worldnet.att.net)
Date: 07/07/04


Date: Wed, 07 Jul 2004 01:49:00 GMT


William M. Klein wrote:
> Herwig,
> I used to hear "urban legends" of IBM mainframe shops where they used the
> PL/I "macro processor" to preprocess COBOL code. There was also a 3rd party
> "vendor product" called META-COBOL which did something similar.

My shop still has old "copybooks" on file that were used by the CICS
1.6.1 MACRO preprocessor to generate COBOL code. That use the macro
capabilities of the IBM mainframe assembler. Some of these things
generate COBOL copybooks, ID division headers, and even procedure
division code without any Macro-level CICS calls.

Of course, that stuff is completely out of date, since Macro-Level
CICS has been off support for years.

Just for playing around, I wrote an HLASM macro to generate a skeleton
  COBOL batch program with variable options for including copybooks,
record length, program name, et cetera. It was fun, but I am NO
expert on HLASM macro coding.

-- 
http://arnold.trembley.home.att.net/



Relevant Pages

  • Re: Thoughts on refactoring COBOL
    ... translates all 459 ANSI COBOL 1985 test suite into HLASM compatible ... macro assembler source. ... Only the HLASM target language is being fully developed ...
    (comp.lang.cobol)
  • Re: ouvrir un document word =?ISO-8859-1?Q?=E0_partir_d=27un?= =?ISO-8859-1?Q?_progr
    ... Now I can do a mass mailing, to do it i use a 'macro' which make the ... with COBOL but I'm not able to do this...Have you got some help? ... invoke MyAddresses.doc "insert" using this address-text-string(containing appropriate control codes); ...
    (comp.lang.cobol)
  • Re: CICS down after transaction exec wait macro.
    ... CICS down after transaction exec wait macro. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Thoughts on refactoring COBOL
    ... translates all 459 ANSI COBOL 1985 test suite into HLASM compatible ... macro assembler source. ... HLASM assembler, C, Java, or Intel MASM using the included zcobol ... Only the HLASM target language is being fully developed ...
    (comp.lang.cobol)
  • Re: C-preprocessor for COBOL?
    ... > 1.6.1 MACRO preprocessor to generate COBOL code. ... but our support after U 1 class. ...
    (comp.lang.cobol)