Bruce, thanks for the reply. But not exactly what I wanted. I probably didn't ask the question correctly. I have a specific userid, for example MAINT, what SFS directories does MAINT have read and/or write access to? When I run Query AUTHority VMSYSU:xxxxxx. (or VMSYSU:xxxxx.yyyyy) I get a list of users who can read and/or write to the specified subdirectory. I want to specify a userid and get a list of SFS subdirectories that user has access to. We heavily use SFS in our production batch processing using different batch worker machines (VM:Batch) Some worker machines have access to common SFS subdirectories. I can write something using the brute force method but I was hoping for something a little more elegant. Steve
-----Original Message----- From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf Of Bruce Hayden Sent: Wednesday, March 04, 2009 10:00 AM To: [email protected] Subject: Re: SFS question (was: Q LIMITS question) I've had ALLDIRS XEDIT around for quite awhile. You start DIRLIST against your own space in the filepool and then enter ALLDIRS on the command line. /* ALLDIRS XEDIT */ 'command top' 'command next' 'extract /curline' parse var curline.3 10 filepool ':' 'command bot' address command 'PIPE command QUERY LIMITS ALL' filepool':', '| drop 1', '| pick 52.2 /== " 0"', /* Ignore unused directories */ '| spec "LISTDIR' filepool':" 1 w1 next ". (XEDIT" next', '| command' 'SDIR' Exit On Wed, Mar 4, 2009 at 8:17 AM, Gentry, Stephen <[email protected]> wrote: > Is there a command of some kind or has anyone written an EXEC (or PIPE, > etc.) that will provide a list of SFS directories that a user has access to? > > > > Steve -- Bruce Hayden Linux on System z Advanced Technical Support IBM, Endicott, NY
