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=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.
<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.