Perform APF administration tasks

You can use ZOAU to perform the following Authorized Program Facility (APF) administration tasks:

  • Add libraries to or remove libraries from the authorized list.
  • Make the entry persistent or remove an entry from a persistent dataset.
  • Make the list format DYNAMIC or STATIC.
  • Print the current list.

For example, you can print the current list in JSON format in the following ways:

  • Issuing a shell command:
apfadm -lj
  • Calling an API in Python programs:
response = zsystem.apf(opt="list")