OS400 Installations >= V7R1

Newer OS400 releases set some security values on *SRVPGM objects, causing us problems as ordinary (non *ALLOBJ) users can’t access these programs after the IBM sets them to *PUBLIC *EXCLUDE. This can stop ordinary users connecting to our listener using DocView. Easily fixed.

You will need to GRTOBJAUT to QPMLPMGT in QSYS (an IBM “SRVPGM”) to public *use.

To check :

DSPOBJAUT OBJ(QSYS/QPMLPMGT) OBJTYPE(*SRVPGM)

If *PUBLIC is set to *EXCLUDE – Then we have a problem.

The command to correct it :

GRTOBJAUT OBJ(QSYS/QPMLPMGT) OBJTYPE(SRVPGM) USER(PUBLIC) AUT(*USE)
Once that is done, stop and restart the listener and SPYCS subsystem

STRSPY Option 3 (Control the Background Jobs)
Option 7 (Control DocManager Listeners)
Option 2 (Stop – DocView Listener)

F3 out to the command line

ENDSBS SBS(SPYCS) OPTION(*IMMED)

STRSPY Option 3 (Control the Background Jobs)
Option 7 (Control DocManager Listeners)
Option 1 (Start – DocView Listener)