Skip to main content
Skip table of contents

Create IPM Definitions

The NonStop Data Definition Language (DDL) Compiler is a utility that is included with your NonStop system. It compiles DDL definitions into a binary format which can be subsequently output in the syntax of various programming languages such as C, COBOL, TAL or TACL. You use the DDL compiler to translate the DDL definitions into source code that you'll compile into your application.



TEXT
tacl> DDL2
DDL Compiler T9100H01 - (01JAN17)  SYSTEM \NODE
!?DICT $MYVOL.MYSUBVOL
Dictionary opened on subvol $MYVOL.MYSUBVOL for update access.                  
!?COBOL mycopybk !
!?C myheader !
!?SOURCE ddldefs
!exit

This example opens a COBOL source file, "mycopybk", and a C source file, "myheader", for output. The "?SOURCE" command simultaneously loads and compiles the definitions from the "ddldefs" file (the output from CDF2DDL), translates the definitions to COBOL and C and stores the output in the appropriate files.

Notes for SCOBOL Users

Note that if you are generating a source file for use in SCOBOL programs, you should set the COBOL74 option before generating the output.  An example of the use of this option is shown below:

TEXT
> DDL2
DDL Compiler T9100H01 - (01JAN17)  SYSTEM \NODE
!?DICT $MYVOL.MYSUBVOL
Dictionary opened on subvol $MYVOL.MYSUBVOL for update access.                  
!?SETCOBOL74
!?COBOL mycopybk !
!?SOURCE ddldefs
!exit

Refer to the HPE Data Definition Language (DDL) Reference Guide for more information about the DDL Compiler.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.