In this installment of APIs by Example, Carsten presents a CHKOBJAUT (Check Object Authority) command.
This utility allows you to search a library for objects created after a given date that do not meet a particular criteria in their authority settings.
For example, you can use this utility to find all programs created in the past week that do not adopt authority, or you can find all files in a library that have not granted *USE authority to *PUBLIC.
This API example is based on the QusMaterializeContext API which offers functionality similar to the MATCTX MI builtin.
Download the save file containing the source code.