This API procedure function call retrieves information about a definition in the knowledge base.
If you make this call from an NCL procedure, ensure that you share the &ZRMDB-prefixed variables, for example, by adding the following statement before the call:
&CONTROL SHRVARS=(ZRMDB)
Syntax
This API procedure function call has the following format:
$RMDBAPI SERVICE=GET
[{NAME=resource-name[MANNAME=manager-name]}|
{RSNAME=ft-ruleset-name[RMNAME=ft-rule-name]}]
CLASS=cc
SYSNAME=system-name
VERSION=version
Operands
This API procedure function call has the following operands:
Specifies that information about a definition is to be retrieved from the knowledge base.
Specifies the name of the resource definition for which information is to be retrieved.
This operand is not required if you are retrieving information about a system image definition, a file transfer rule set, or a file transfer rule.
(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 for which information is to be retrieved).
(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 for which information is to be retrieved.
This operand is not required if you are retrieving information about 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 for which information is to be retrieved or the name of the system image that owns the resource for which information is to be retrieved.
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.
Return Variables
This API procedure function call returns the following variables:
Contains the returned message.
Contain the returned knowledge base information about the specified resource.
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 failed.
Indicates that error occurred in the call syntax.
Example: Retrieve Information About an Internal Resource
This example retrieves information about the RES001 internal resource (class 21), located on the EASTPRD1 version 1 system image:
&CALL PROC=$RMDBAPI + SHARE=(ZRMDB>) + PARMS=(SERVICE=GET,+ NAME=RES001,+ CLASS=21,+ SYSNAME=EASTPRD1,+ VERSION=0001)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |