Examples

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Configuration XML File (no WORKGROUP parm specified)

<?xml version="1.0" encoding="utf-8" ?>
<cmdgen xmlns="http://xml.microfocus.com/schema/amb/v1.0/cmdgen.xsd">
  <applications>
    <application name="APPL1">
      <parms>
        <parm A2APPL="APPL1" />
        <parm A2MDB="SQL" />
        <parm A2MDC="CICS" />
        <parm APLSTG="NO" />
        <parm APSDEBUG="NO" />
        <parm APXCURR="$" />
        <parm APXDECM="PERIOD" />
        <parm APXLANG="ENGLISH" />
        <parm CARDIN="APSDBDC" />
        <parm PROGSRC="NO" />
        <parm SSMCBL2G="YES" />
        <parm SSMSQL="DB2" />
        <parm APSPARM="APSPARM" />
        <parm ZISPFIO="ZISPFIO" />
      </parms>
      <dds>
        <dd dd="APRAPPL"  file="C:\AMB\PROJ\GRP\APRAPPL" />
        <dd dd="APRPROG"  file="C:\AMB\PROJ\GRP\APRPROG" />
        <dd dd="APSAPPL"  file="C:\AMB\PROJ\GRP\APSAPPL" />
        <dd dd="APSCNTL"  file="%ProgramFiles(x86)%\etc\CNTL" />
        <dd dd="APSDATA"  file="C:\AMB\PROJ\GRP\APSDATA" />
        <dd dd="APSDE"    file="C:\AMB\PROJ\GRP\APSDE" />
        <dd dd="APSEXPS"  file="C:\AMB\PROJ\GRP\APSEXPS" />
        <dd dd="APSMACS"  file="%ProgramFiles(x86)%\etc\APSMACS" />
        <dd dd="APSPROG"  file="C:\AMB\PROJ\GRP\APSPROG" />
        <dd dd="APSREPT"  file="C:\AMB\PROJ\GRP\APSREPT" />
        <dd dd="APSSCFE"  file="C:\AMB\PROJ\GRP\APSSCFE" />
        <dd dd="APSSCRN"  file="C:\AMB\PROJ\GRP\APSSCRN" />
        <dd dd="APSSRC"   file="C:\AMB\PROJ\GRP\APSSRC" />
        <dd dd="CNTL"     file="%ProgramFiles(x86)%\etc\CNTL" />
        <dd dd="COBCICS"  file="C:\AMB\PROJ\GRP\COBCICS" />
        <dd dd="COBIMS"   file="C:\AMB\PROJ\GRP\COBIMS" />
        <dd dd="COBMVS"   file="C:\AMB\PROJ\GRP\COBMVS" />
        <dd dd="COPYLIB"  file="C:\AMB\PROJ\GRP\COPYLIB" />
        <dd dd="DBDSRC"   file="C:\AMB\PROJ\GRP\DBDSRC" />
        <dd dd="DDISRC"   file="C:\AMB\PROJ\GRP\DDISRC" />
        <dd dd="DDISYMB"  file="C:\AMB\PROJ\GRP\DDISYMB" />
        <dd dd="FMPOUT"   file="C:\AMB\PROJ\GRP\FMPOUT" />
        <dd dd="GAPSPROG" file="C:\work\gapsprog" />
        <dd dd="GCOBOL"   file="C:\work\gcobol" />
        <dd dd="GENBMS"   file="C:\AMB\PROJ\GRP\GENBMS" />
        <dd dd="GENMFS"   file="C:\AMB\PROJ\GRP\GENMFS" />
        <dd dd="GENSRC"   file="C:\AMB\PROJ\GRP\GENSRC" />
        <dd dd="GLOGFILE" file="C:\work\glogfile" />
        <dd dd="GSCR"     file="C:\work\gscr" />
        <dd dd="GSCRSYMB" file="C:\work\gscrsymb" />
        <dd dd="PSBSRC"   file="C:\AMB\PROJ\GRP\PSBSRC" />
        <dd dd="SCRCOPY"  file="C:\AMB\PROJ\GRP\SCRCOPY" />
        <dd dd="SCRSYMB"  file="C:\AMB\PROJ\GRP\SCRSYMB" />
        <dd dd="SQLDDL"   file="C:\AMB\PROJ\GRP\SQLDDL" />
        <dd dd="USERCNTL" file="C:\AMB\PROJ\GRP\CNTL" />
        <dd dd="USERMACS" file="C:\AMB\PROJ\GRP\USERMACS" />
      </dds>
      <globals>
      </globals>
      <programs>
        <program name="PROG1" type="APSEXPS" subtype="NONE" gentype="APSPROG" >
          <screens>
            <screen name="SCRN1" mapset="SCRN1$" />
          </screens>
        </program>
        <program name="PROG2" type="APSEXPS" subtype="NONE" gentype="APSPROG" >
          <screens>
            <screen name="SCRN2" mapset="SCRN2$" />
          </screens>
        </program>
      </programs>
      <multiple-map-mapsets>
      </multiple-map-mapsets>
    </application>
  </applications>
</cmdgen>

Configuration XML File with WORKGROUP parm specified

<?xml version="1.0" encoding="utf-8" ?>
<cmdgen xmlns="http://xml.microfocus.com/schema/amb/v1.0/cmdgen.xsd">
  <applications>
    <application name="APPL1">
      <parms>
        <parm A2APPL="APPL1" />
        <parm A2MDB="SQL" />
        <parm A2MDC="CICS" />
        <parm APLSTG="NO" />
        <parm APSDEBUG="NO" />
        <parm APXCURR="$" />
        <parm APXDECM="PERIOD" />
        <parm APXLANG="ENGLISH" />
        <parm CARDIN="APSDBDC" />
        <parm PROGSRC="NO" />
        <parm SSMCBL2G="YES" />
        <parm SSMSQL="DB2" />
        <parm WORKGROUP="WORKGROUP1" />
        <parm APSPARM="APSPARM" />
        <parm ZISPFIO="ZISPFIO" />
      </parms>
      <dds>
        <dd dd="GAPSPROG" file="C:\work\gapsprog" />
        <dd dd="GCOBOL"   file="C:\work\gcobol" />
        <dd dd="GLOGFILE" file="C:\work\glogfile" />
        <dd dd="GSCR"     file="C:\work\gscr" />
        <dd dd="GSCRSYMB" file="C:\work\gscrsymb" />
        <dd dd="GWORKGRP" file="C:\WORKGROUPS" />
      </dds>
      <globals>
      </globals>
      <programs>
        <program name="PROG1 type="APSEXPS" subtype="NONE" gentype="APSPROG" >
          <screens>
            <screen name="SCRN1" mapset="SCRN1$" />
          </screens>
        </program>
        <program name="PROG2" type="APSEXPS" subtype="NONE" gentype="APSPROG" >
          <screens>
            <screen name="SCRN2" mapset="SCRN2$" />
          </screens>
        </program>
        <program name="STUB1" type="APSPROG" subtype="STUB" gentype="NONE" >
        </program>
      </programs>
      <multiple-map-mapsets>
          <multiple-map-mapset mapset-name="MULT1$"> 
            <multiple-map-mapset-screens>
              <multiple-map-mapset-screen screen-name="SCRN3" />
              <multiple-map-mapset-screen screen-name="SCRN4" />
            </multiple-map-mapset-screens>
          </multiple-map-mapset>
      </multiple-map-mapsets>
    </application>
  </applications>
</cmdgen>