Published at 11/5/2024

OMVS Commands from ISPF 3.17 (UDList)

You probably already know that from ISPF you have the ability to view the z/OS UNIX System Services filesystem using an ISPF dialog. But did you know you can issue any UNIX System Services command, including shell scripts, from the 3.17 command line?

This feature is not enabled by default.

Enablement

First enter ISPF 3.17 by entering 3.17 on the ISPF command line in the ISPF Primary Option Menu:

317-1.jpg to get to this panel:

317-2.jpg

Next, using your mouse, or use the keyboard to tab, click on Options in the menu bar. That will generate a drop down menu where you will enter 1 in the selection field to select the Directory List Options:

317-3.jpg

This will bring up this panel:

317-4.jpg

On this panel I suggestion you make the following changes:

  1. Change the width to something reasonable - in this example I've changed it to 35 characters, which should be long enough for most filenames.
  2. Enter a / on the Enter z/OS UNIX commands in Command field to enable this feature.
  3. If you are using z/OS 3.1 (or newer) then enter a / next to the Case-insensitive sort option to take advantage of this sort feature.

Now you can enter any z/OS UNIX command. In this example the df . command has been entered.

317-5.jpg

And the results of the command are displayed thus:

317-6.jpg

Hopefully this short tutorial has been useful. Feedback is welcome.

Notes:

You can issue the su command, which may be needed for some actions, just be aware that you will need to issue the su command before leaving the z/OS UNIX Directory List dialog or you will remain in the superuser state.

Share on social media

Facebook share buttonReddit share buttonThreads share button