Products | Support | Consultancy | Resources | Clients | Links | Contact | Search  

JSP-MACRO

JSP-MACRO is a DOS command-line tool which accepts a sequential input text stream and produces an expanded version of that text as output. The input stream may contain:

Example macro definition
$ML &MSG &TYPID () &TXT =
  $/M $SEL (&TYPID NE $SYSNUL)
    &SYSTXTG START GROUPM
    &SYSCMT ' TYPID=.&TYPID. TEXT=.&TXT.'
    $DO ($TYP = &TYPID (1 2))
    $/M1  $SEL ($MSG$TYP EQ Y)
      &SYSCMT ' *** ABOVE TYPID IS DUPLICATED'
    $/M1  $ALT (ELSE)
      $GDO ($MSG$TYP = Y)
    $/M1  $END
    &SYSTXTG END GROUPM
    DISPLAY 'MESSAGE-.$TYP. - .&TXT.' UPON CONSOLE.
  $/M  $ALT (ELSE)
    DISPLAY '.&TXT.' UPON CONSOLE.
  $M  $END
$MEND

JSP-MACRO was sold in the late 1970's and early 1980's by Michael Jackson Systems Limited. It is no longer available to buy or supported. Its functionality was also incorporated in the JSP-COBOL tool.

The code generator within the Jackson Workbench includes built-in support for JSP-MACRO invocations. Full support options are available for this product.

Valid XHTML 1.0! Valid CSS!