Retrieve CL Command Attributes with RTVCMDINF

IBM has provided great CL commands to retrieve information about user profiles, objects, members, job information, system values, and more in commands like RTVUSRPRF, RTVOBJD, RTVMBRD, RTVJOBA, and RVSYSVAL.

But what about when you want to know about CL command attributes? There is no IBM-supplied command to retrieve command attributes into a program. For this issue, I have created the command RTVCMDINF (Retrieve Command Information) for those times when you need to gather information such as “What commands can be used by limited capability users by way of the ALWLMTUSR attribute?”, or “What commands add a library to the job’s library list through the PRODLIB attribute?”

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