Conditional assembly language
Encyclopedia
A Conditional Assembly Language is that part of an Assembly Language
Assembly language
An assembly language is a low-level programming language for computers, microprocessors, microcontrollers, and other programmable devices. It implements a symbolic representation of the machine codes and other constants needed to program a given CPU architecture...

 used to write macros.

Example

In the IBM
IBM
International Business Machines Corporation or IBM is an American multinational technology and consulting corporation headquartered in Armonk, New York, United States. IBM manufactures and sells computer hardware and software, and it offers infrastructure, hosting and consulting services in areas...

 conditional assembly language, the most important statements are:-
  • MACRO and MEND - used to start and finish a macro
  • AIF, AGO, ANOP, AEND, AEXIT and MEXIT - used to control the generation of different assembly language statements, depending on the nature of the macro’s supplied arguments.
  • SETx - used to manipulate variables within the macro.

Alternative use

The conditional assembler is not restricted to generating assembler code and was in fact used by IBM in the 1970s onwards to generate COBOL
COBOL
COBOL is one of the oldest programming languages. Its name is an acronym for COmmon Business-Oriented Language, defining its primary domain in business, finance, and administrative systems for companies and governments....

 or PL/1 statements for compiling into CICS
CICS
Customer Information Control System is a transaction server that runs primarily on IBM mainframe systems under z/OS and z/VSE.CICS is a transaction manager designed for rapid, high-volume online processing. This processing is mostly interactive , but background transactions are possible...

application programs.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK