Is it possible to display directory listings in z/OS UNIX environments?
OS : z/OS
Product : SYSVIEW Performance Management
Component : SYSVW
Release : ALL
Yes, it is possible in one of the following ways.
1. Using the ULISTDIR command. *Reference 1
2. Select screen from SYSVIEW Menu, Primary Option Menu. *Reference 2
<Reference 1: ULISTDIR command>
(1) Enter ULISTDIR and execute.
SYSVIEW nn.n nnnn -------- MENU, Primary Option Menu ------ yyyy/mm/dd hh:mm:ss
Option ====> ULISTDIR Scroll *===> PAGE
GSVX942I SYSVIEW nn.n nnnn GSVX Copyright (c) yyyy Broadcom Inc. and/or its su+
Option Command Description
_ 1 MENU OVERVIEW System overview
_ 2 MENU MVS MVS displays
_ 3 MENU JES JES job and output management
_ 4 MENU CICS CICS displays
_ 5 MENU DATACOM Datacom displays
_ 6 MENU DB2 Database 2 displays
_ 7 MENU IDMS IDMS displays
_ 8 MENU IMS IMS displays
_ 9 MENU JVMLE JVM and LE displays
_ 10 MENU MQ MQ displays
_ 11 MENU NETWORK Network and TCP/IP displays
_ 12 MENU USS UNIX system services displays
_ 13 MENU CAPTURE Event capture and SMF/RMF collection
_ 14 MENU ADMIN SYSVIEW administration
_ 15 MENU SDSF SDSF migration menu
_ 16 MENU PRODUCTS Product integration menu
_ 17 MENU HELP Online help information
_ 18 END Terminate SYSVIEW session
https://techdocs.broadcom.com/sysview
-------------------------------------------------------------------------------
1=HELP 2=SPLIT 3=RETURN 5=FIND 7=UP 8=DOWN 9=SWAP 10=LEFT 11=RIGHT 12=RECALL-
(2) The home directory is displayed.
SYSVIEW nn.n nnnn ----- ULISTDIR, USS List Directory ----- yyyy/mm/dd hh:mm:ss
Command ====> Scroll *===> PAGE
-------------------------------------------------- Lvl 3 Row 1-6/6 Col 1-79/348
Path /z/zzzzzzz
-------------------------------------------------------------------------------
Cmd Filename Type Fmt Perm POwn PGrp POth Own
________ . DIR NONE 777 RWX RWX RWX zzz
________ .. DIR NONE 555 R-X R-X R-X STC
________ NM4G0G0 DIR NONE 755 RWX R-X R-X zzz
________ sysview DIR NONE 775 RWX RWX R-X zzz
________ NM4H0G0 DIR NONE 755 RWX R-X R-X zzz
________ DVD500000000002323.pax.Z FILE NONE 660 RW- RW- --- zzz
********************************* End of Data *********************************
-------------------------------------------------------------------------------
1=HELP 2=SPLIT 3=RETURN 5=FIND 7=UP 8=DOWN 9=SWAP 10=LEFT 11=RIGHT 12=RECALL
Optionally, only the root ' / ' can be specified following ULISTDIR, or an absolute path name can be specified.
SYSVIEW nn.n nnnn -------- MENU, Primary Option Menu ------ yyyy/mm/dd hh:mm:ss
Option ====> ULISTDIR /eee/uuu Scroll *===> PAGE
GSVX942I SYSVIEW nn.n nnnn GSVX Copyright (c) yyyy Broadcom Inc. and/or its su+
Option Command Description
_ 1 MENU OVERVIEW System overview
_ 2 MENU MVS MVS displays
_ 3 MENU JES JES job and output management
_ 4 MENU CICS CICS displays
_ 5 MENU DATACOM Datacom displays
_ 6 MENU DB2 Database 2 displays
_ 7 MENU IDMS IDMS displays
_ 8 MENU IMS IMS displays
<Reference 2: Selecting a screen from the Menu, Primary Option Menu>
(1) Enter '12' in Option and execute or enter the line command 'S' at '12 MENU USS' to execute.
SYSVIEW nn.n nnnn -------- MENU, Primary Option Menu ------ yyyy/mm/dd hh:mm:ss
Option ====> 12 Scroll *===> PAGE
GSVX942I SYSVIEW nn.n nnnn GSVX Copyright (c) yyyy Broadcom Inc. and/or its su+
Option Command Description
_ 1 MENU OVERVIEW System overview
_ 2 MENU MVS MVS displays
_ 3 MENU JES JES job and output management
_ 4 MENU CICS CICS displays
_ 5 MENU DATACOM Datacom displays
_ 6 MENU DB2 Database 2 displays
_ 7 MENU IDMS IDMS displays
_ 8 MENU IMS IMS displays
_ 9 MENU JVMLE JVM and LE displays
_ 10 MENU MQ MQ displays
_ 11 MENU NETWORK Network and TCP/IP displays
S 12 MENU USS UNIX system services displays
_ 13 MENU CAPTURE Event capture and SMF/RMF collection
_ 14 MENU ADMIN SYSVIEW administration
_ 15 MENU SDSF SDSF migration menu
_ 16 MENU PRODUCTS Product integration menu
_ 17 MENU HELP Online help information
_ 18 END Terminate SYSVIEW session
https://techdocs.broadcom.com/sysview
-------------------------------------------------------------------------------
1=HELP 2=SPLIT 3=RETURN 5=FIND 7=UP 8=DOWN 9=SWAP 10=LEFT 11=RIGHT 12=RECALL-
(2) Enter '8' at Option or enter the line command 'S' at '8 ULISTDIR'.
SYSVIEW nn.n nnnn ----- MENU, UNIX System Services Menu --- yyyy/mm/dd hh:mm:ss
Option ====> Scroll *===> PAGE
------------------------------------------------------------- Lvl 2 Row 1-27/27
Jobname xxxxxxx ASID xxxx Jobid xxxxxxxxx
-------------------------------------------------------------------------------
Option Command Parameters Description
_ 1 UDIRTREE USS directory tree
_ 2 UFILES USS open files
_ 3 UFILESYS USS mounted file systems
_ 4 UFSMNT PANEL USS mount a file system
_ 5 UFSUMNT PANEL USS unmount a file system
_ 6 UGROUPS USS groups
_ 7 UKILL USS kill a process
S 8 ULISTDIR USS list directory contents
_ 9 UMSGQUE USS IPC message queues
_ 10 UPROCESS USS processes
_ 11 URESOURC USS resource monitoring data
_ 12 USEMAPH USS IPC semaphores
_ 13 USHRMEM USS IPC shared memory
_ 14 USIGNAL USS signal a process
_ 15 USS USS switch to USS address space
_ 16 USSCMD USS commands
_ 17 USSLIST USS address space list
_ 18 USYSCONF USS system configuration options
_ 19 USUPER USS set/display superuser mode
_ 20 UTHREADS USS threads
_ 21 UUSERS USS users
_ 22 MENU DISPOMVS OMVS DISPLAY commands
_ 23 MENU ZCX z/OS container extensions
Description
_ 24 UNIX System Services online reference
-------------------------------------------------------------------------------
1=HELP 2=SPLIT 3=RETURN 5=FIND 7=UP 8=DOWN 9=SWAP 10=LEFT 11=RIGHT 12=RECALL-
(3) The home directory is displayed.
SYSVIEW nn.n nnnn ----- ULISTDIR, USS List Directory ------ yyyy/mm/dd hh:mm:ss
Command ====> Scroll *===> PAGE
-------------------------------------------------- Lvl 3 Row 1-6/6 Col 1-79/348
Path /z/zzzzzzz
-------------------------------------------------------------------------------
Cmd Filename Type Fmt Perm POwn PGrp POth Own
________ . DIR NONE 777 RWX RWX RWX zzz
________ .. DIR NONE 555 R-X R-X R-X STC
________ NM4G0G0 DIR NONE 755 RWX R-X R-X zzz
________ sysview DIR NONE 775 RWX RWX R-X zzz
________ NM4H0G0 DIR NONE 755 RWX R-X R-X zzz
________ DVD500000000002323.pax.Z FILE NONE 660 RW- RW- --- zzz
********************************* End of Data *********************************
-------------------------------------------------------------------------------
1=HELP 2=SPLIT 3=RETURN 5=FIND 7=UP 8=DOWN 9=SWAP 10=LEFT 11=RIGHT 12=RECALL
Note that it is also possible to specify only the root '/ ' in the Parameter field or an absolute path name.
SYSVIEW nn.n nnnn ----- MENU, UNIX System Services Menu --- yyyy/mm/dd hh:mm:ss
Option ====> Scroll *===> PAGE
------------------------------------------------------------- Lvl 2 Row 1-27/27
Jobname xxxxxxx ASID xxxx Jobid xxxxxxxxx
-------------------------------------------------------------------------------
Option Command Parameters Description
_ 1 UDIRTREE USS directory tree
_ 2 UFILES USS open files
_ 3 UFILESYS USS mounted file systems
_ 4 UFSMNT PANEL USS mount a file system
_ 5 UFSUMNT PANEL USS unmount a file system
_ 6 UGROUPS USS groups
_ 7 UKILL USS kill a process
S 8 ULISTDIR /eee/uuu USS list directory contents