There is something besides just a permissions problem. Were there additional
messages besides what you posted?
bpxmtext 0b1b011f
BPXPREXC 07/01/19
JRExecNotRegFile: The filename specified on the exec is not a regular file
Action: The exec service detected that the filename specified by the pathname
argument is not a regular type file. Correct the pathname argument and
resubmit the job.
_____________________________________________________________________________________________________
Dave Jousma
AVP | Director, Technology Engineering
Fifth Third Bank | 1830 East Paris Ave, SE | MD RSCB2H | Grand Rapids, MI
49546
616.653.8429 | fax: 616.653.2717
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
David Spiegel
Sent: Monday, October 5, 2020 12:28 PM
To: [email protected]
Subject: LPSTAT Fails
**CAUTION EXTERNAL EMAIL**
**DO NOT open attachments or click on links from unknown senders or unexpected
emails**
Hi,
A user issues /usr/lpp/Printsrv/bin/lpstat -a and gets:
/usr/lpp/Printsrv/bin: FSUM9209 cannot execute: reason code = 0b1b011f:
EDC5111I Permission denied.
The user is COnnected to AOPADMIN which is PErmitted UPDATE to PRINTSRV
AOP.ADMINISTRATOR
Here are the z/OS V2.3 Files and Permission Bits:
Dir 755 rwxr-xr-x 2020-02-06 04:35 OMVSKERN 8192 .
Dir 755 rwxr-xr-x 2020-02-06 04:35 OMVSKERN 8192 ..
Syml 777 rwxrwxrwx 2019-04-29 20:56 OMVSKERN 42 .aokcinit Syml
777 rwxrwxrwx 2019-04-29 20:56 OMVSKERN 48 afpxpcl Syml 777
rwxrwxrwx 2019-04-29 21:24 OMVSKERN 34 afpxpcld Syml 777
rwxrwxrwx 2019-04-29 20:56 OMVSKERN 48 afpxpdf Syml 777
rwxrwxrwx 2019-04-29 21:24 OMVSKERN 34 afpxpdfd Syml 777
rwxrwxrwx 2019-04-29 20:56 OMVSKERN 46 afpxps Syml 777
rwxrwxrwx 2019-04-29 21:24 OMVSKERN 33 afpxpsd File 755
rwxr-xr-x 2017-05-24 17:40 OMVSKERN 2162688 aopchkinv File 700
rwx------ 2017-05-24 17:40 OMVSKERN 20480 aopcstart File 700
rwx------ 2020-02-06 04:34 OMVSKERN 3911680 aopd File 754 rwxr-xr--
2020-02-06 04:34 OMVSKERN 32768 aopdemon File 700 rwx------
2020-02-06 04:34 OMVSKERN 286720 aopippd File 750 rwxr-x---
2020-02-06 04:34 OMVSKERN 3092480 aoplogu File 700 rwx------
2020-02-06 04:34 OMVSKERN 299008 aoplpd File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 5517312 aopmig File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 2396160 aopmigns File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 1810432 aopmigpw File 700 rwx------
2020-02-06 04:34 OMVSKERN 176128 aopnetd File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 3534848 aopoms File 700 rwx------
2020-02-06 04:35 OMVSKERN 3198976 aopoutd File 755 rwxr-xr-x
2020-02-06 04:35 OMVSKERN 2408448 aopsapd File 750 rwxr-x---
2020-02-06 04:35 OMVSKERN 2625536 aopsend File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 5292 aopsetup File 700 rwx------
2020-02-06 04:35 OMVSKERN 1835008 aopssid File 755 rwxr-xr-x
2017-05-24 17:40 OMVSKERN 13399 aopstart File 755 rwxr-xr-x
2020-02-06 04:35 OMVSKERN 2625536 aopstat File 750 rwxr-x---
2020-02-06 04:35 OMVSKERN 2519040 aopstop File 700 rwx------
2020-02-06 04:35 OMVSKERN 847872 aopsubd File 700 rwx------
2020-02-06 04:35 OMVSKERN 663552 aopwsmd File 750 rwxr-x---
2017-05-24 17:40 OMVSKERN 2633728 aopxcfut File 700 rwx------
2020-02-06 04:35 OMVSKERN 532480 aopxfd File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 3358720 cancel File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 2871296 filter File 750 rwxr-x---
2020-02-06 04:34 OMVSKERN 2072576 hinvu Dir 755 rwxr-xr-x
2017-05-24 17:40 OMVSKERN 8192 IBM File 750 rwxr-x--- 2017-05-24
17:40 OMVSKERN 1760 loadprinterinventory File 755 rwxr-xr-x
2020-02-06 04:34 OMVSKERN 3383296 lp File 755 rwxr-xr-x 2020-02-06
04:34 OMVSKERN 3444736 lpstat File 750 rwxr-x--- 2020-02-06 04:35
OMVSKERN 3608576 pidu File 755 rwxr-xr-x 2017-05-24 17:40 OMVSKERN
2223 remotexf File 750 rwxr-x--- 2020-02-06 04:35 OMVSKERN
2023424 sdbu
Other than giving the users UID(0), how can I allow them to issue LPSTAT (and
other commands) successfully?
Thanks and regards,
David
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN **CAUTION EXTERNAL
EMAIL**
**DO NOT open attachments or click on links from unknown senders or unexpected
emails**
This e-mail transmission contains information that is confidential and may be
privileged. It is intended only for the addressee(s) named above. If you
receive this e-mail in error, please do not read, copy or disseminate it in any
manner. If you are not the intended recipient, any disclosure, copying,
distribution or use of the contents of this information is prohibited. Please
reply to the message immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer system. Your
assistance in correcting this error is appreciated.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN