Friday, July 01, 2005

How to remove an authorization list from all objects in a library.

The RVKOBJAUT command compels you to specify the authorization list, which is a chore if you don't know the list name.

I first solved this by filling an outfile with the infomation from the DSPOBJAUT command and working through it record by record.

In fact you can do this a lot more tidily in two ways:
  • GRTOBJAUT OBJ( MyLibrary/*All ) OBJTYPE( *ALL ) AUTL( *NONE )

..or...

  • CHGAUT OBJ( ‘QSYS.LIB/MyLibrary.LIB/*.*’ ) AUTL( *NONE )

1 Comments:

At 2:06 PM, Anonymous david said...

I've added your blog to Planet iSeries.

 

Post a Comment

<< Home