|
xmlconverter |
|
|
This tool produces conversion routines from the XML data structure description, created by cpy2xml utility. It may generate several converter types:
COBOL programs for data conversion This is the default output type of xmlconverter. By default the converter will handle a fixed record length file. If file has variable record length, you need to run xmlconverter with -V option: The input and output file will be managed as variable size file. C language routines for XCICS Online Conversion System With option -C, xmlconverter produces a C language function source, to be used with the XCICS Online Conversion System. To create conversion program for DL/I data download, you have to use -H option. DL/I data are organized with 16 bytes at COBOL programs for H2R data conversion To create conversion program for DL/I data download, you have to use -H option. DL/I data are organized with 16 bytes at the beginning of each record, where DBD and PSB name are stored. The DBD name is normally equal for all records because each DBD is downloaded by a single program into the same file. The PSB name is variable and the segment name define a particular record description used to translate the record. You have as many record descriptions as DL/I segments. The segment name is before translated and then tested to identify the right record description to convert the area. SQL statements to load H2R fields With option -d, it generates a SQL script to load the H2R system tables, with the data structure information Syntax xmlconverter [-options] <file> Parameters
|