zconbt command line utility
The zconbt utility expects as input a properties file and generates as output a SAR file.
> zconbt -p=customer1.properties -f=customer1.sar
name=customer1
version=1.0
provider=zdatatools
host=10.1.1.2
port=9043
userid=admin
passwd=s3cr3t
file=HFM.CUSTOMER.KSDS
template=HFM.TEMPLATE(CUST1)
connid=default
As with all SAR files, the name
must be unique. For Z Data Tools, the
provider must be zdatatools
. 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.
<ZDataTools_Connection>
id="default" runport="2800" max_timeout="1800"
</ZDataTools_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.