APIs By Example: Change Object Attributes Command

All OS/400 objects have a common set of attributes regardless of object type. You can display many of these attributes using the Display Object Description (DSPOBJD) command, yet very few of the attributes can be changed by the Change Object Description (CHGOBJD) command. In fact, the only things you can change are the object’s text description and its days used count.

To alleviate this shortcoming, this week’s API by Example offers a command interface to the Change Object Description (QLICOBJD) API. This API is capable of changing a number of object attributes that are not accessible otherwise.

Download the save file containing the source code.

Read the entire article

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s