NonStop Server for Java (NSJ) Tools Reference Pages (NSJ 2.0+)
NSJ Tools Home Page
ddl2java: Java
TM
Data Description
Tool
ddl2java generates and (optionally) compiles a Java
TM
source file for each data
description in an input file. For more information, see Description.
Synopsis
ddl2java [-c] [-d source-path ] -e coding [-h] [-l [C |
COBOL]] [-v] -dpath dictionary-path -p package-name
-i filename
Options
-c
Causes ddl2java to compile any generated .java source file for the specified
DDL record or definition.
-d source-path
Specifies the path that ddl2java uses to create the .java source files. The
default is the directory where ddl2java runs.
-dpath dictionary-path
Specifies the path that ddl2java uses to find the DDL dictionary to be
searched for data descriptions. Because DDL dictionaries reside in the Guardian
name space, dictionary-path must have this format:
/G/volume/subvolume
-e coding
Specifies that the value of the coding property is to be used as the default
encoding for all PIC X and PIC N fields in the DDL, to support the use of
international character sets.
-h
Prints a ddl2java command usage message and exits.
-i filename
Specifies the name of a file that contains a list of the DDL records or definitions
associated with the request or reply Interprocess Communication (IPC). The
contents of the file must have this format: