Adding this custom server resource to a business application
When an address space has been defined to create a custom server, this application can always be associated with a business application.
It is very easy to associate this application with a business application. You only need to
update the CUSTSRVR configuration directive in the z/OS® DLA
IZDCDEF default configuration file with the location of the Application Descriptor file, as shown in
the following
example:
CUSTSRVR name.type.criteria appdesc_loc
where appdesc_loc is the location of the application descriptor to be used for this application.
The following example is the Application Descriptor file XML
markup:
<component-app-descriptor app-instance-name="Payroll - Staging">
<component-descriptor
type="server"
name="tn3270x"
functional-group="zApp Tier"
marker-module="false"
/>
</component-app-descriptor>
If this markup is saved into a member in the
hlq(TN3270XX)(PAY001), the
CUSTSRVR
ATM.APPSERVER.TN3270 hlq(TN3270XX)(PAY001)
rule associates all of the
address spaces that satisfy the criteria with this application descriptor, as shown in the following
example:CUSTSRVR ATM.APPSERVER.TN3270 WIT.ZOSDLA.SUPPORT.JCL(TN3270XX)
CRITERIA TN3270.USER starts;SET
CRITERIA TN3270.JOBTYPE is;STARTED
CRITERIA TN3270.ARGUMENT contains;TRACE CTRACE(CTIEZBTN)
CRITERIA TN3270.PROGRAM is;EZBTNINI