Browse Prior Art Database

Compiled Code with Multiple Includes

IP.com Disclosure Number: IPCOM000118347D
Original Publication Date: 1996-Dec-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 28K

Publishing Venue

IBM

Related People

Breslau, FC: AUTHOR [+3]

Abstract

Disclosed is an enhanced INCLUDE macro definition that permits insertion of code into multiple points within a program from a common file.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Compiled Code with Multiple Includes

      Disclosed is an enhanced INCLUDE macro definition that permits
insertion of code into multiple points within a program from a common
file.

      This method is for an enhanced INCLUDE macro processing
facility for extracting multiple includes from a file for insertion
into a program that is to be compiled.
  Given a program that looks like:
  (............)
  %INCLUDE (X,PART1)
  (............)
  (............)
  %INCLUDE (X,PART2)
  (............)
  (............)
  (............)
  (............)
  Further, a file labelled X is defined as:
  %BEGIN PART1
  (.......)
  (.......)
  (.......)
  (.......)
  %END PART1
  %BEGIN PART2
  (.......)
  (.......)
  %END PART2

      The enhanced INCLUDE MACRO takes PART1 out of file X and
inserts it into the program where the INCLUDE PART1 is located.
PART2 is handled similarly.

      The  enhanced INCLUDE macro is particularly useful for programs
compiled by IBM's Systems Object Model (SOM) compiler that  generates
multiple  customization  points  with  Interface  Definition Language
(IDL) code.  In this case, the output, being hard  to  read,  can  be
erroneously customized.