IBM Infoprint XT for z/OS
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the OEDIT command to view or edit a file

IBM Infoprint XT for z/OS
GI11-9492-01

While it is not a part of the z/OS UNIX shell, you can access another editor by issuing the OEDIT command when you are at the TSO/E Ready prompt. After you issue the command, you see the EDIT - ENTRY panel in Figure 1.

Figure 1. EDIT - Entry panel
-------------------------------  EDIT - ENTRY PANEL  ---------------------------

Directory      ===>/u/tuna

Filename       ===>

Profile name   ===>

Initial macro  ===>

The Directory field displays the last directory accessed from the previous invocation of the OEDIT command. Use the Directory field and the Filename field to specify the file that you want to view or edit. For example, if you wanted to edit your z/OS UNIX profile:

  1. Type your z/OS UNIX home directory in the Directory field. For example:
    /u/tuna
  2. Type the name of your profile in the Filename field:
    .profile
  3. Press Enter. The editing session opens with information similar to Figure 2.
    Figure 2. Editing session
      File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
    ---------------------------------------------------------------------------
    EDIT       /u/tuna/.profile                                Columns 00001 00072
    ****** ***************************** Top of Data ******************************
    ==MSG> -Warning- The UNDO command is not available until you change
    ==MSG>           your edit profile using the command RECOVERY ON.
    000001 export EDITOR=vi
    000002 export PATH=/usr/lpp/pdxt/V3R1M0/bin:$PATH
    You can use the menu items and the function keys on the panel to work with the file.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014