Marc's Place

DIBIOL/DBL - Compiler Directives


 .ALIGN

.ALIGN directs the compiler to aign the data location counter to the boundary specified
by either an integer or a keyword.

                |BYTE|
                |WORD|
                |LONG|
         .ALIGN |QUAD|
                |PAGE|
                |nlit|


 .END

.END identifies the end of the Procedure Division.
(vervanger van END als einde van de Procedure Division)

             .END

 .IDENT

.IDENT places identifier string (15 pos) in the header listing and the object file.

             .IDENT {"id_string"}


 .IF-.ELSE-.ENDC

.IF-.ELSE-.ENDC specifies conditional compilation based on the value of a compile-time
expression.

             .IF compile-time-expression
                    statement_1
             {.ELSE
                    statement_2}
             .ENDC


 .IFDEF-.ELSE-.ENDC

.IFDEF specifies conditional compilation based on the definition of a variable.

             .IFDEF field
                  statement_1
             {.ELSE
                  statement_2}
             .ENDC


 .IFNDEF-.ELSE-.ENDC

.IFNDEF specifies conditional compilation based on the non-definition of a variable.


             .IFNDEF field
                  statement_1
             {.ELSE
                  statement_2}
             .ENDC


 .INCLUDE

.INCLUDE directs the compiler to read source code from a specified file, text library,
or the VAX Common Data Dictionary (CDD).

             .INCLUDE source-file

             .INCLUDE module-name LIBRARY {library-file}

                                                            |COMMON|
             .INCLUDE object DICTIONARY {,|              |}
                                                            |RECORD  |


 .LIST

.LIST enables the source code listing.

             .LIST


 .MAIN

.MAIN identifies the beginning of the Data Division of the main program.

             .MAIN name


 .NOLIST

.NOLIST disables the source code listing.

             .NOLIST


 .PAGE

.PAGE ends the current listing page and begins a new listing page.

             .PAGE


 .PROC

.PROC identifies the beginning of the Procedure Division.
(vervanger van PROC)

             .PROC


 .PSECT

.PSECT declares a program section (psect) in which data is stored.

             .PSECT name {,attr_lst}


 .RESTORE

.RESTORE will return the last saved set of psect attributes.

             .RESTORE


 .SAVE

.SAVE will save the current psect name and attributes.

             .SAVE


 .SHOW

.SHOW changes the contents of the listing file, based on the specified keywords.

             .SHOW  |{no}{keyword1{,no}...keywordn}|
                         |ALL                           |


 .SUBTITLE

.SUBTITLE insets a Top of Form in the listing and changes the listing page header.

             .SUBTITLE {text_string}


 .TITLE

.TITLE changes the listing page header.  The text_string must be enclosed in either
single or double quotes.

             .TITLE {text_string}
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
Privacy Statement