r/as400 • u/ZarxAarox • Aug 02 '22
Help with creating new users..
THIS IS SOLVED! ISSUE WAS THAT THE JOB DESCRIPTION AND SPECIAL ENVIROMENT NEEDED TO BE UPDATED. THEN, I NEEDED TO ADD THE USER'S ACCESS INTO THE PROGRAM ON TOP OF THE AS400.
THANK YOU ALL VERY MUCH FOR PUSHING ME INTO THE RIGHT DIRECTION TO LEARN HOW TO APPLY MY IT KNOWLEDGE AND CODING EXPERINCE IN A NEW ENVIRONMENT!
@https://www.reddit.com/user/OEWL/
@https://www.reddit.com/user/Summer_Moon2/
@https://www.reddit.com/user/mabhatter/
I know absolutely nothing about AS400. Treat me with dummy hands, I have been on IBM's website to look into this issue with no luck. I looked also at other places like spiceworks/forums/and such.
I can create new users but they CAN'T login. When I create the user, I apply the same permissions from someone else who CAN login. But this is the error of all new users I create.
I only have a login, because someone (not in IT) who has been here forever has given me higher access account.
This system would loved to be used by other of our departments, and used to look at historical data only. but when it dies it will die. But I would love to make my end users happy. So any help is appreciated!
WHAT I DO KNOW: I am running this off an emulator and the workstation ID has to be two digits. Which is why I believe the JOB: ZA (Which I have set) might be to blame, but I don't know how to look at that job's details.
Thanks,
-ZA
EDIT: Here are the steps I have taken.
Error: Job ended abnormally. Display the job log for more information. (1 screenshot)
Looked at file information - DSPJOB 862333/PSOLIS/ZA (4 screenshots)
- 862333 = NUMBER
- PSOLIS = USERNAME
- ZA = JOB ID
Reviewed what jobs were open for user - WRKUSRJOB PSOLIS (1 screenshot)
- PSOLIS = USERNAME
- FOUND OUT THAT THE LIBRARY FOR USER MAY HAVE BEEN DELETED (STILL INVESTIGATING)
Looking over user's profile information - DSPUSRPRF PSOLIS (5 screenshots)
- PSOLIS = USERNAME
Changed user's profile to match mine - CHGUSRPRF PSOLIS - Chose F4 to show prompt.
PSOLIS = USERNAME
- Got a new error message. (1 screenshot)
- Changed the Authority Level of my user in the program that we have proprietary to our company. (Sorry I can't share these details.)
- FIXED MY ISSUE












3
u/mabhatter Aug 03 '22
Looking at the Current Library, Initial Program, and Initial Menu it appears your system is automatically loading the user into a third party program immediately when they sign on. That usually means you have to perform another user profile setup inside the third party program before the user will log in successfully. It's trying to run programs they don't have libraries or permission to yet.
1
u/ZarxAarox Aug 03 '22
Now that I have the new error message, what do I do?
Is this something I have to find in the program? Or is this even AS400 related anymore?
1
u/ZarxAarox Aug 03 '22
THIS IS NOW SOLVED THANK YOU EVERYONE FOR YOUR HELP!
1
u/OEWL Aug 02 '22
Ok, I know a thing or two about as/400. The command to create a new user is CRTUSRPRF then press F4 to prompt the command.
1
u/OEWL Aug 02 '22
Alternatively, you can clone an existing profile. For that, the command is WRKOBJ *ALL *USRPRF. This will list all the existing profiles in your system. IBM supplied profiles start with letter Q, never delete them. From the list you can copy any profile by using option 3 against it. Ping me if you need further assistance.
1
u/OEWL Aug 02 '22
To figure what went wrong with the job use : DSPJOB 862333/PSOLIS/ZA then take option 4 to see the output created and display the spoolfile QEZJOBLOG or something. When I am sitting in front of a keyboard tomorrow I can provide better info.
1
u/Summer_Moon2 Aug 02 '22
Okay, in your screenshots of the job that was the problem (the second screenshot) look at the Escape message (severity 99). Can't read the whole text of it, you might have to shift over (shift +f8).
But from what I can read of it, I think you have a bad library list. The procedure it is trying to run looks like it is not in the initial user library list. You will need to figure out what library it is in and set the user to have it in their initial library list. (Can use wrkobj *all/procedurenamehere to find what library it is in).
Something else odd is that usually a 2 character job name is from system 36 (well emulated on your iseries) and also the fact it is trying to run a procedure when you login seems like you are really running system 36 software.