This API procedure function call creates a ResourceView definition in the knowledge base.
Syntax
This API procedure function call has the following format:
$RMDBAPI SERVICE=CREATE
[TRUNCATE={YES|NO}]
[{NAME=resource-name[MANNAME=manager-name]}|
{RSNAME=ft-ruleset-name[RMNAME=ft-rule-name]}]
CLASS=cc
SYSNAME=system-name
VERSION=version
[field-name-1=field value-1]
[field-name-2=field value-2]
…
[field-name-n=field value-n]
Operands
Notes:
This API procedure function call has the following operands:
Specifies that you want to create a definition in the knowledge base.
Specifies whether a field value is truncated if it is longer than the field length.
Specifies that long values are truncated and the definition is created in the knowledge base.
Specifies that no truncation is allowed. If a long value is encountered, the definition is not created in the knowledge base.
Specifies the name of the resource definition to create (for example, the address of a DASD or the name of a started task).
This operand is not required if you are creating a system image, a file transfer rule set, or a file transfer rule definition.
(CA NetMaster FTM) Specifies the name of the manager that owns the resource, resource-name (for example, the definition of the file transfer manager that owns the monitor resource whose definition you want to create).
(CA NetMaster FTM) Specifies the name of the file transfer rule set to which the specified rule, ft-rule-name, belongs.
(CA NetMaster FTM) Specifies the name of the file transfer rule definition to create.
This operand is not required if you are creating a file transfer rule set definition.
Specifies the two-digit identifier of the ResourceView definition class to which the resource belongs.
Specifies the name of the system image to create or the name of the system image in which to create the specified resource.
Note: For file transfer rule sets and rules in a CA NetMaster FTM region, the value of SYSNAME is FILTER.
Specifies the version of the system image.
Note: For file transfer rule sets and rules in a CA NetMaster FTM region, the values of VERSION are 0006 and 0005, respectively.
Specifies the values of the fields in the definition.
Return Variable
This API procedure function call returns the following variable:
Contains the returned message.
Return Codes
Return codes indicate the success or failure of processing. This API procedure function call returns the following return codes in the &RETCODE variable:
Indicates that processing was successful.
Indicates that processing was successful, but truncation has occurred.
Indicates that processing failed.
Indicates that error occurred in the call syntax.
Example: Define a System Image
This example creates an EASTPRD1 version 2 system image definition (class 1), with truncation allowed:
&SDESC=&STR Eastern production system
&CALL PROC=$RMDBAPI + PARMS=(SERVICE=CREATE,+ CLASS=01,+ SYSNAME=EASTPRD1,+ VERSION=0002,+ SDESC=&SDESC)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |