NonStop Server for Java (NSJ) Tools Reference Pages (NSJ 2.0+)
the generated class are unique.
For classes associated with reply IPCs, ddl2java generates get methods that you can
use to retrieve the data returned from the TsmpServerReply(). For the following
DDL data description:
def getEmployeeReply.
02 reply_code pic 99.
02 employee-info.
04 empnum pic 9(4).
04 empname.
06 firstname pic x(20).
06 lastname pic x(30).
06 middle pic x.
end
ddl2java generates the following get methods:
public String getReply_code() {
...
}
public String getEmployee_info_empnum() {
...
}
public String getEmployee_info_empname_firstname() {
...
}
public String getEmployee_info_empname_lastname() {
...
}
public String getEmployee_info_empname_middle() {
...
}
Generated Calls to Conversion Methods
For both request and reply IPCs, ddl2java generates calls to the appropriate
conversion methods, which are then invoked by TsmpServer().