Vorheriges Thema: svcpt.configNächstes Thema: svcpt.list


:svcpt.create

Erstellen eines Service-Endpunkts von einem Modell-Service-Endpunkttyp aus.

Syntax:

svcpt create /<svcpt catalog>:<svcpt> /<svcpt_type catalog>:<svcpt_type> [<.attr>=<value>]* [<property>=<value>]*

Parameter:

/<svcpt catalog>

Name des globalen Katalogs, in dem der Service-Endpunkt zu erstellen ist.

<svcpt>

Name des Service-Endpunkts.

/<svcpt_type catalog>

Name des globalen Katalogs, in dem sich der Service-Endpunkttyp befindet.

<svcpt_type>

Name des Service-Endpunkttyps.

<.attr>

Festzulegender Attributname (gegenwärtig ist das einzige unterstützte Attribut .description).

<property>

Festzulegender Eigenschaftsname.

Beispiele:

svcpt create /svcpt:CICS_PROD /svcpt_type:CICS_GW service_host=my.prodhost.com
                         service_port=5555
                         .description="Production CICS"

Service-Endpunkt "CICS_PROD" erstellen mithilfe des Service-Endpunkttyps "CICS_GW"

svcpt create /svcpt: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

Service-Endpunkt "IMS_TEST" erstellen mithilfe des Service-Endpunkttyps "IMS_GW"

svcpt.destroy

Löschen eines Service-Endpunkts und aller seiner Klassenvolumes aus einem Katalog.

Syntax:

svcpt destroy /<catalog>:<svcpt> [ --force ]

Parameter:

/<catalog>

Name des globalen Katalogs, der den Service-Endpunkt enthält.

<svcpt>

Name des zu löschenden Service-Endpunkts.

--force

Bestätigungsaufforderung überspringen.

Beispiele:

svcpt destroy /svcpt:MYDB2

Service-Endpunkt mit Namen MYDB2 in globalem Katalog /svcpt entfernen