This API procedure function call changes field values in a system image definition. The SET function is not available to other definitions in the knowledge base.
Syntax
This API procedure function call has the following format:
$RMDBAPI SERVICE=SET
[TRUNCATE={YES|NO}]
CLASS=01
SYSNAME=system-name
VERSION=version
[field-name-1=field value-1]
[field-name-2=field value-2]
…
[field-name-n=field value-n]
Operands
This API procedure function call has the following operands:
Specifies that you want to change the specified definition.
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 changed.
Specifies that no truncation is allowed. If a long value is encountered, the definition is not changed.
Specifies that you want to change a system image definition.
Specifies the name of the system image definition to be changed.
Specifies the version of the system image definition.
Specifies the values of the fields to be changed in the definition.
You cannot delete a field value.
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: Change the Long Description
This example changes the value of the fourth line of the Long Description field in the EASTPRD1 version 2 system image definition (class 1), with truncation allowed:
&LDESC4=&STR (Upgrade in progress)
&CALL PROC=$RMDBAPI + PARMS=(SERVICE=SET,+ CLASS=01,+ SYSNAME=EASTPRD1,+ VERSION=0002,+ LDESC4=&LDESC4)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |