The svcpt config command lists the properties of a service end point.
This command has the following format:
svcpt config /endpoint_catalog_name:endpoint_name -- boundary [--batch]
Specifies the name of the global catalog that contains the service end point appliance.
Specifies the name of the service end point appliance.
Specifies that the properties relate to the appliance boundary.
(Optional) Displays output in UDL format. The format facilitates programmatic interpretation of the result.
This example lists the properties of the CICS_SYS01 gateway appliance for a CICS subsystem. The appliance is in the zos_svcpt global catalog.
svcpt config /zos_svcpt:CICS_SYS01 --boundary
This section contains the following topics:
svcpt config Command Output Specification
Without the --batch option, the output of this command is a table that contains the following columns:
Is the property name.
Is the property value.
If the --batch option is specified, this command has the following output:
component endpoint_name :
{
property property1 : value1
…
property service_port : 50001
property service_host : co11.co.com
…
property propertyn : valuen
}
The service_host and service_port properties are always there. Other properties are user-defined.
The svcpt create command creates a service end point.
A service end point is a cataloged gateway appliance that is configured to talk to a specific resource.
This command has the following format:
svcpt create /endpoint_catalog_name:endpoint_name
/endpoint_type_catalog_name:endpoint_type_name
[.attribute1=value1 … .attributen=valuen]
[property1=value1 … propertyn=valuen]
Specifies the name of a global catalog to contain the service end point appliance.
Specifies the name of the service end point appliance.
Specifies the name of the global catalog that contains the service end point type.
Specifies the name of the service end point type on which to base the appliance you want to create. The svcpt_type list command lists the available types.
(Optional) Specifies values for the attributes of the appliance you want to create. Currently, only the following attribute is valid:
.description
If a value contains spaces, enclose the value in double quotation marks.
(Optional) Specifies values for service end point appliance properties. These properties are inherited from the service end point type. The svcpt_type config command lists the properties. Mandatory properties must have values.
If a value contains spaces, enclose the value in double quotation marks.
This example builds a gateway appliance (of the CICS_GW type) for Customer Information Control System (CICS) with an address of 10.102.7.104:8601.
svcpt create /zos_svcpt:CICS_SYS01 /zos_svcpt_type:CICS_GW
.description="Production CICS"
service_host=10.102.7.104 service_port=8601
This example builds a gateway appliance (of the IMS_GW type) for Information Management System (IMS) with a host name of www.sys01.com and port number of 1234. The appliance also has properties that you have defined through the svcpt_type create command.
svcpt create /zos_svcpt:IMS_SYS01 /zos_svcpt_type:IMS_GW
.description="Production IMS"
service_host=www.sys01.com service_port=1234
datastoreName=IO1A
metadataURL=class://samples.ims.openDb.AUTPSB11DatabaseView
userID=IMSCTLR password=IMSCTLR
The svcpt destroy command deletes a service end point from a catalog.
This command has the following format:
svcpt destroy /endpoint_catalog_name:endpoint_name [--force]
Specifies the name of the global catalog that contains the service end point appliance.
Specifies the name of the service end point appliance.
(Optional) Specifies that the deletion requires no confirmation.
This example deletes the MYDB2 service end point appliance class from the zos_svcpt global catalog without asking for confirmation.
svcpt destroy /zos_svcpt:MYDB2 --force
The svcpt list command lists the service end points.
This command has the following format:
svcpt list /endpoint_catalog_name [--batch]
Specifies the name of the global catalog from which you want to retrieve the list of service end point appliances.
(Optional) Displays output in UDL format. The format facilitates programmatic interpretation of the result.
This example lists the service end point appliances in the svcpt catalog.
svcpt list /svcpt
This section contains the following topics:
svcpt list Command Output Specification
Without the --batch option, the output of this command is a table that contains the following columns:
Is the name of the service end point appliance.
Identifies the service end point type that is used to create the appliance.
This value has the following format:
endpoint_type_catalog_name.endpoint_type_name
Identifies the host name or IP address of the service end point.
Identifies the port number of the service end point.
Identifies the catalog category that contains the appliance.
Describes the appliance.
If the --batch option is specified, this command has the following output:
catalog endpoint_catalog_name
{
class endpoint_name : type = "endpoint_type_catalog_name.endpoint_type_name", service_host = "hostname_or_address", service_port = "port_number", category = "svcpt Templates", description = "endpoint_dscrp"
…
}
The svcpt lock command prevents a service end point from modification.
This command has the following format:
svcpt lock /endpoint_catalog_name:endpoint_name [pwd=-]
Specifies the name of the global catalog that contains the service end point appliance.
Specifies the name of the service end point appliance.
(Optional) Prompts for a password for unlocking the service end point appliance. If you are not a maintainer, specify this parameter and provide an unlocking password. If you are a maintainer, you can lock the appliance without providing an unlocking password.
Note: If the standard input (stdin) is not a terminal device, the command does not prompt and expects only one copy of the password on stdin. (This feature can be used for batch operations to set the password from a file.)
svcpt lock /zos_svcpt:MYDB2
svcpt lock /zos_svcpt:MYDB2 pwd=-
The svcpt unlock command unlocks a service end point.
This command has the following format:
svcpt unlock /endpoint_catalog_name:endpoint_name [pwd=-] [--override]
Specifies the name of the global catalog that contains the service end point appliance.
Specifies the name of the service end point appliance.
(Optional) Prompts for the password for unlocking the service end point appliance. If the appliance is locked with a password, specify this parameter. If the appliance is locked without a password, then only a maintainer can unlock the appliance.
Note: If the standard input (stdin) is not a terminal device, the command does not prompt and expects only one copy of the password on stdin. (This feature can be used for batch operations to set the password from a file.)
(Maintainers only) Overrides the lock on the service end point appliance.
svcpt unlock /zos_svcpt:MYDB2
svcpt unlock /zos_svcpt:MYDB2 pwd=-
svcpt unlock /zos_svcpt:MYDB2 --override
|
Copyright © 2013 CA.
All rights reserved.
|
|