Thanks in advance for anyone who can help with this issue.
A user attempted to run a program which bombed trying to access a file member.
Earlier in the job, the program got error CPD3232 trying to add the physical file member ADDPFM.
The error is happening on a batch job but I was able  to recreate the error trying to do ADDPFM from a command line.
                         Additional Message Information                        
                                                                               
 Message ID . . . . . . :   CPD3232       Severity . . . . . . . :   40        
 Message type . . . . . :   Diagnostic                                         
 Date sent  . . . . . . :   02/25/22      Time sent  . . . . . . :   10:23:47  
                                                                               
 Message . . . . :   No authority to objects needed for file TRCSPW.           
 Cause . . . . . :   You do not have authority to file *N in library TRUCKDATA,
   type *LIB, that is needed to create file TRCSPW in library TRUCKDATA.  If   
   the object type is a data base member, the name is *N.                      
 Recovery  . . . :   Get authority from the security officer or the object     
   owner.  If a member is being added, the member name is TEST. Then try your  
   request again.                                                              
                                                                               
I thought it would be easy: just grant *ALL authority to the file.
However, despite having all authority the problem did not go away.
The users affected all have *ALL authority
Object    ----------Object-----------
Authority  Opr  Mgt  Exist  Alter  Ref
*ALL        X    X     X      X     X
                           Display Message Details                           
                                                                             
Message ID . . . . . . :   CPD3232       Severity . . . . . . . :   40       
Date sent  . . . . . . :   02/25/22      Time sent  . . . . . . :   10:23:47 
Message type . . . . . :   Diagnostic                                        
From . . . . . . . . . :   CVERSFELTX    CCSID  . . . . . . . . :   65535    
                                                                             
From program . . . . . . . . . :   QDBCRTME                                  
  From library . . . . . . . . :     QSYS                                    
  Instruction  . . . . . . . . :     2022                                    
                                                                             
To program . . . . . . . . . . :   QWCCDSUC                                  
  To library . . . . . . . . . :     QSYS                                    
  Instruction  . . . . . . . . :     0D4C                                    
                                                                             
Time sent  . . . . . . . . . . :   10:23:47.556591                           
                                                                             
                                                                             
As an Amazon Associate we earn from qualifying purchases.