Below is a sample for a dialog control file which consists of a main control file and an include file. The include file is referenced in the overallAttr XML tag of the main control file.
This control file is used to generate three AWM Execute ISPF Dialog tools for the ISPF "Endevor retrieve" application representing the ISPF panels NDVELIST, NDVSEL and TEST.
<?xml version="1.0" encoding="UTF-8"?> <tau:dialogAppls xmlns:tau="https://www.microfocus.com/controlFile/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.microfocus.com/controlFile/ bundleentry://824.fwk7518084/XSD/controlFile.xsd"> <overallAttr location="COMPANY.PROD.PANELS"> <replaceItem source="==>" target="" /> <replaceItem source="j/n" target="" inputFormat="checkBox" /> <include location="COMPANY.PROD.DCTL(GLOBAL)"/> </overallAttr> <dialogAppl invocationForm="CMD" label="Retrieve" location="COMPANY.LOCATION.PANELS" name="Endevor retrieve" pgm="NDVRETR"> <panel name="NDVELIST" title="Retrieve list panel" table="NDVELIST" location="COMPANY.OTHERLOCATION.PANELS"> <lineCommand value="R" label="Retrieve"/> </panel> <panel name="NDVSEL" title="Element selection"></panel> </dialogAppl> </tau:dialogAppls>
Include File (optional)
<?xml version="1.0" encoding="UTF-8"?> <tau:overallAttr xmlns:tau="https://www.microfocus.com/include/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.microfocus.com/include/ bundleentry://824.fwk19851888/XSD/include.xsd " location="COMPANY.LOCATION.PANELS"> <replaceItem source="==>" target=""/> <replaceItem source="j/n" target="" inputFormat="checkBox"/> <replaceItem source="Test/Systemtest/Prod" target="" inputFormat="comboBox" selectionValues="Test Systemtest Prod"/> <panel name="NDVSELSY" title="Select subsystem" table="NDVSYS"> <replaceItem source=". . ." target=""/> <lineCommand value="S" label="Select" default_command="true"/> </panel> </tau:overallAttr>
There is a sample for a dialog generation control file named DIALGDCT in your z/Server installation XML dataset. This sample dialog generation control file can be used to generate the sample dialog applications TAUPDTEL and TAUPDWEK.