IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error executing command TSO OMVS - Creating user directory


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sirbaros

New User


Joined: 25 Oct 2015
Posts: 1
Location: USA

PostPosted: Mon Oct 26, 2015 8:26 pm
Reply with quote

Hello,
I am getting an error (reason code = 05190050) when I am trying to execute the command TSO OMVS in the TSO command line.

I figured out that the problem occurs because there is no user directoy existing. I was trying to create a user direcoty in OMVS but I need to get OMVS running first. How can I create a user directory without OMVS?

Error:
IBM
Licensed Material - Property of IBM
5650-ZOS Copyright IBM Corp. 1993, 2013
(C) Copyright Mortice Kern Systems, Inc., 1985, 1996.
(C) Copyright Software Development Group, University of Waterloo, 1989.

FSUM2384 No session was started. The system cannot set the current working directory to the specified home directory for this user
ID.

Function = chdir(), directory name = '/u/msmith', return value = -1, errno = 129 (X'00000081'), reason code = 05190050, message = 'E
DC5129I No such file or directory.'
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Mon Oct 26, 2015 8:46 pm
Reply with quote

Contact your security support. I'm not certain about this, but I think you need an OMVS segment for your userid (if your site uses RACF) or the equivalent if your site uses an alternate security product like Top Secret or ACF2. Part of OMVS authorization is a "home directory." Another possibility is the "home directory" was not created. The directory name in your message looks like a "home directory."
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 26, 2015 9:11 pm
Reply with quote

As was mentioned, contact your site support group. If your site uses RACF, you MUST have an OMVS segment with a valid home directory. I suspect your home directory does not exist -- which would definitely be a problem for your site support group. The issue could be that /u/msmith does not exist, or it could be that /u/msmith does exist but your TSO user id does not have access to the directory, or it could be that /u does not allow you to access that directory (which would prevent you from getting to /u/msmith) ... etc. Your site support group can sort out the issue(s) and resolve the problem -- there's not really anything you can do unless you have authority to change your RACF (or other security package) profile.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Thu Oct 29, 2015 12:44 am
Reply with quote

Try to use the ISHELL command specifying your home dir. ISHELL will ask you if you want to create it (even for a homedir I think). Of course this only works if you have the rights to do so.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Nov 03, 2015 2:59 am
Reply with quote

Willy Jensen wrote:
Try to use the ISHELL command specifying your home dir. ISHELL will ask you if you want to create it (even for a homedir I think). Of course this only works if you have the rights to do so.

ISHELL works, well sort-of on "that" system, and gets you into(?) OMVS, need to explore further to see if we can restore it somehow, if you have more experience with it, PM me!
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Thu Nov 05, 2015 1:12 am
Reply with quote

I'm not really a USS person. I had another thought - you might try BPXBATCH like below. Not sure if that requires an OMVS segment though.

//EXEC EXEC PGM=BPXBATCH
//STDOUT DD SYSOUT=*
//STDPARM DD *
sh ;
mkdir /xxx &&
chmod <userid> /xxx
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top