DriverSpec
Use this element of the ServiceSpecification.xml document to specify the generation options for the converter driver program
Note: In the top-down scenario the DriverSpec specifies the file that contains the
entire conversion package (driver, converters, and utility programs).
Contained by
XseSpecContains
NoneAttributes
This table shows the attributes for DriverSpec.
| Fields | Description |
|---|---|
|
Attribute: businessPgmName
Valid values: See Description Required?: No Default value: See Description |
Specifies the existing business program that the XML converters call. This is
the program that you are enabling for processing and/or producing XML messages (to act as a Web
service, for example.) The default value is: Data source file name up to 7 characters.
Note:
|
|
Attribute: driverType
Valid values: BATCH | IMS_SOAP | IMS_INFO_20 | SOAP_FOR_CICS | WEB_SERVICES_CICS | XML_TRANSFORM_CICS Required?: No Default value: SOAP_FOR_CICS |
Specifies the type of drivers and converters to generate for a specific
subsystem (such as CICS®, IMS, TSO);
|
|
Attribute: fileName
Valid values: See Description Required?: No Default value: See Description |
Specifies the name of the output file. The default value is: Data source file name concatenated with "D" |
|
Attribute: fileNamePrefix
Valid values: See Description. Required?: No Default value: See Description. |
Specifies the prefix used to form the names of the generated
conversion source packages. A conversion source package is a single COBOL or
PL/I source file that contains the generated conversion programs for
converting from XML data to language data and from language data to the XML data. For Web services
scenarios these packages may contain SOAP header and SOAP fault conversion code and other utility
programs (if supported by a specific scenario). The default value is the name of the input WSDL file up to 6 characters, excluding the file extension. Note:
|
|
Attribute: overwrite
Valid values: true | false Required?: No Default value: true |
Specifies whether to overwrite the output file if it exists. |
|
Attribute: programName
Valid values: See Description Required?: No Default value: See Description |
Specifies the program name of the main program entry. The default value is: Value of the CodegenProperty GEN_PROG_NAME concatenated with "D". |
|
Attribute: suppressGeneration
Valid values: true | false Required?: No Default value: false |
Indicates whether or not to suppress generation of the compiled XML converter driver. |
|
Attribute: xmlContainerName
Valid values: See Description Required?: No Default value: xmlCont |
For XML_TRANSFORM _CICS type converters, specifies the name of the CICS container that carries the XML document. Depending on the direction of the conversion it can contain ether the result of the conversion or the XML document to be converted. The name must be a valid CICS container name of 16 characters or less. |
|
Attribute: dataContainerName
Valid values: See Description Required?: No Default value: xmlCont |
For XML_TRANSFORM _CICS type converters, specifies the name of the CICS container that carries the language data. Depending on the direction of the conversion it can contain ether the result of the conversion or the language data to be converted. The name must be a valid CICS container name of 16 characters or less. |
1 The attribute fileNamePrefix
defaults to a portion of the WSDL file name only if the attribute is not specified from DriverSpec.
For example if @fileNamePrefix="HELLO" but the WSDL file name is MyService.wsdl,
the package names will be HELLOD.pli through HELLOFFD.pli. |
|
Example
The following sample code illustrates a DriverSpec element.<DriverSpec fileName="IMSPHBKD.cbl" driverType="WEB_SERVICES_CICS"
programName="XCNVD" businessPgmName="IMSPHBK" />