zconbt command line utility
The zconbt utility expects as input a properties file and generates as output a SAR file.
The input and output file names are passed as parameters to the utility. For
example:
> zconbt -p=customer1.properties -f=customer1.sar
The File Manager Build Toolkit plug-in expects the
properties file to nominate a data resource (file) and a matching File Manager template, view, or copybook. The plug-in uses this
information to build the SAR file. For
example:
name=customer1
version=1.0
provider=filemanager
host=10.1.1.2
port=9043
userid=admin
passwd=s3cr3t
file=FMN.CUSTOMER.KSDS
template=FMN.TEMPLATE(CUST1)
connid=default
As with all SAR files, the name
must be unique. For File Manager, the
provider must be filemanager
. The host,
port, userid and passwd properties are used
during SAR file creation to connect to a z/OS® system to
access the template which is used to generate the SAR file’s JSON response schema.
The z/OS® system must be running the ADFzCC server (IPVSRV) on the host and port number
provided. The user ID must have read access to the template, view, or
copybook file. The connid property associates the generated
SAR file with a configuration element in the server.xml
of the z/OS® Connect WLP server. For
example:
<FileManager_Connection>
id="default" runport="2800" max_timeout="1800"
</FileManager_Connection>
Once a SAR file has been created, it can be used to build z/OS Connect APIs using the z/OS Connect API Editor. See Creating z/OS Connect APIs for more information.