You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to dynamically use setattributevalue function to set the values

Summary:

Run a loop to fetch the attribute name and value and use these within setattributevalue function, it throws an error stating that the second parameter has to be a string literal variable name.

The need is to use one function line with attribute name and attribute value changing with each iteration instead of hardcoding the function with each attribute name and it's value. Works pretty well with sbappend function.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!