IMS Connect UPDATE DATASTORE command

The UPDATE DATASTORE command is used to update the requested data store. The UPDATE DATASTORE command performs similar functions as the OPENDS and STOPDS commands.

Subsections:

Syntax

Read syntax diagramSkip visual syntax diagramUPDATEDATASTORENAME(,datastoreNamedatastoreNam**)START(COMM)STOP(COMM)

Keywords

UPDATE or UPD is used to update the status or attributes of a specified resource. DATASTORE is an IMS Connect managed specified resource. The command UPDATE DATASTORE is used to update the current status of the requested data store.
NAME( )
Specifies the name of the data store to be updated. You can specify a single data store, a wildcard name, or a list of data stores separated by commas. You can specify NAME(*) for the command to be processed for all data stores.
datastoreName
Specifies the data store to be updated.
START( )
Specifies the attributes to be started.
COMM
Starts the communication with the data store.
STOP( )
Specifies the attributes to be stopped.
COMM
Stops the communication with the data store.

Equivalent IMS Connect type-2 and WTOR commands

The following table lists IMS Connect type-2 commands and IMS Connect WTOR commands that perform similar functions as the UPDATE DATASTORE command.

UPDATE DATASTORE command Equivalent IMS Connect type-2 command Equivalent WTOR command
UPDATE DATASTORE NAME(datastoreName) START(COMM) UPDATE IMSCON TYPE(DATASTORE) NAME(datastore_name) START(COMM) OPENDS datastore_id
STARTDS datastore_id
UPDATE DATASTORE NAME(datastoreName) STOP(COMM) UPDATE IMSCON TYPE(DATASTORE) NAME(datastore_name) STOP(COMM) STOPDS datastore_id

Examples

Command input:
F HWS1,UPD DATASTORE NAME(SOCKEYE) STOP(COMM)
Command output:
HWSD028I COMMUNICATION WITH DS=SOCKEYE    STOPPED;
M=DSCM

Explanation: The communication with the data store, SOCKEYE, is stopped.