This section describes commands that manage the server endpoint types.
Note: These commands are planned for future development. There is not full support for these commands at this time.
This section contains the following topics:
List the properties of a service endpoint type.
Syntax:
svcpt_type config /<catalog>:<svcpt_type> --boundary [--batch]
Parameters:
Name of catalog in which the service endpoint type resides.
Service endpoint type name.
Display properties related to the service endpoint type's boundary.
Display output in UDL format.
Create a service endpoint type from another service endpoint type.
Syntax:
svcpt_type create /<tgt catalog>:<tgt_svcpt_type> /<src catalog>:<src_svcpt_type>
[<.attr>=<value>]* [<property>[:<type>][:mandatory=1|=<default>]]*
Parameters:
Name of global catalog into which to create the service endpoint type.
Target service endpoint name.
Name of global catalog in which the source service endpoint type resides.
Source service endpoint type name.
Attribute name to set (currently the only supported attribute is .description).
Property name to set.
Property type - must be one of string, integer, ip_addr, or IP_owned. Note that this will default to string if the property is not inherited from the source svcpt_type.
Specifies the property is mandatory.
Specifies a default value for a property.
Examples:
svcpt_type create /svcpt_type:CICS_PROD /system:Generic_zOS_GW
service_host=my.prodhost.com service_port=5555
.description="Production CICS"
Create service endpoint type 'CICS_PROD' using service endpoint type 'Generic_zOS_GW'
svcpt_type create /svcpt_type:IMS_GW /system:Generic_zOS_GW
.description="IMS Gateway"
datastoreName metadataURL userID password
Create service endpoint type 'IMS_GW' using service endpoint type 'Generic_zOS_GW'
svcpt_type create /svcpt_type:IMS_TEST /svcpt_type:IMS_GW
service_host=my.testhost.com service_port=2345
.description="Test IMS" datastoreName=IO1A
metadataURL=class://samples.ims.openDb.AUTPSB11DatabaseView
userID=IMSCTLR password=IMSCTLR
Create service endpoint type 'IMS_TEST' using service endpoint type 'IMS_GW'
Delete a service endpoint type and all its class volumes from a catalog.
Syntax:
svcpt_type destroy /<catalog>:<svcpt_type> [ --force ]
Parameters:
Name of global catalog containing the service endpoint type.
Name of the service endpoint type to be deleted.
Skip the confirmation prompt.
Examples:
svcpt_type destroy /svcpt_type:DB2_GW
Destroy service endpoint type named DB2_GW in global catalog /svcpt_type
List service endpoint types
Syntax:
svcpt_type list /<catalog> [ --batch ]
Parameters:
Global catalog to search
Display output in UDL format
Examples:
None.
Lock a service endpoint type.
Syntax:
svcpt_type lock /<catalog>:<svcpt_type> [pwd=-]
Parameters:
Name of catalog in which the service endpoint type resides.
Service endpoint type name.
Prompt for the password used to unlock the class. If the standard input is not a terminal device, a prompt is not displayed and expects only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
Examples:
svcpt_type lock /svcpt_type:DB2_GW
Lock service endpoint type
svcpt_type lock /svcpt_type:DB2_GW pwd=
Lock service endpoint type and prompt for password
Notes:
Unlock a service endpoint type
Syntax:
svcpt_type unlock /<catalog>:<svcpt_type> [pwd=-] [--override]
Parameters:
Name of catalog in which the service endpoint type resides.
Service endpoint type name.
Prompt the user for the password that was provided when the class was locked. If the standard input is not a terminal device, a prompt is not displayed and expects only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
(for maintainers only) Override the lock on the class.
Examples:
svcpt_type unlock /svcpt_type:DB2_GW
Unlock service endpoint type
svcpt_type unlock /svcpt_type:DB2_GW pwd=
Unlock service endpoint type and prompt for password
svcpt_type unlock /svcpt_type:DB2_GW --override
Override the lock and unlock the service endpoint type
Notes:
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|