Usage Note 58782: Retrieve previous commands by configuring a display manager function key under z/OS
To retrieve previous commands that were entered under z/OS, you must configure a function key in display manager to prevcmd. Complete the following steps to configure the function key:
- Type keys on the command line from the Program Editor window:

- Configure one of your function keys to prevcmd. In the following example, F4 has this function:

- Type wsave all to save your changes:

- Press F3 to exit.
After you complete these steps, when you press the function key that you configured for prevcmd, it will retrieve all of your previous commands.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2016-08-23 14:33:57 |
| Date Created: | 2016-08-12 11:29:33 |