You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: execs/README.md
+32-13Lines changed: 32 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The following EXECs for z/VM are in this directory:
19
19
| GREP EXEC | Search for patterns in files |
20
20
| HEAD EXEC | Output the first part of files |
21
21
| HISTORY EXEC | Display list of commands previously run |
22
-
| MAN EXEC | Give help on CMS/CP/XEDIT commands |
22
+
| MAN EXEC | Give help on CMS/CP/XEDIT/TCPIP/REXX commands |
23
23
| MKARCZCT EXEC | Create the VMARC file with all EXECs inside |
24
24
| QA EXEC | Run QUERY ACCESSED |
25
25
| RFN EXEC | Rename file changing only file name |
@@ -48,22 +48,23 @@ PIPE < VMARC MODULE A | deblock cms | > VMARC MODULE A
48
48
```
49
49
50
50
Then:
51
-
- Download ``ZVMTOOLS.VMARC`` to your workstation.
51
+
- Download ``ZVMEXECS.VMARC`` to your workstation.
52
52
- Get it to z/VM in binary, either with FTP (using ``bin``, ``quote site fix 80``, then ``put ZVMTOOLS.VMARC``), or using another tool such as ``IND$FILE``.
53
53
- Unpack it:
54
54
55
55
```
56
-
vmarc unpk zvmtools.vmarc
56
+
vmarc unpk zvmexecs.vmarc
57
57
```
58
-
All the files should now be accessible.
58
+
All the files should now be accessible on your ``A`` disk.
59
59
60
60
## Installation through Linux
61
-
To install the tools using Linux, perform the following steps:
61
+
To install the tools using Linux, the VMARC file is not used.
- Change to the new directory and copy the tools to z/VM with ``ftp`` or ``IND$FILE``.
@@ -379,20 +380,38 @@ Where: 'filter' is an optional search filter
379
380
```
380
381
381
382
Hooks must be added to trap logon and logoff time. Perform the following steps:
382
-
- Call the MYLOGON EXEC at logon time.
383
+
- Call the MYLOGON EXEC at logon time from your PROFILE EXEC.
383
384
```
384
385
tail -3 profile exec
385
386
386
387
'SYN SYN' /* set synonyms */
387
388
'EXEC MYLOGON' /* save logon time to history */
388
389
'SP CONS START TO' userid() /* spool console */
389
390
```
390
-
391
-
- Call MYLOGOFF at logoff time. Setting this in the ``SYN SYNONYM`` file sets LOGOFF to call it. If you logoff with ``#CP LOGOFF`` MYLOGOFF will not be called and you lose the command history for that session.
392
-
```
393
-
tail -2 syn synonym
394
-
MYLOGOFF LOG
395
-
HISTORY HIS
391
+
- The HISTORY command is added to SYN SYNONYM so just ``HIS`` or ``HIST`` will give you your history.
392
+
```
393
+
tail -1 syn synonym
394
+
HISTORY HISTORY 3
395
+
```
396
+
- Create a ``LOG EXEC`` that sends the retrieve buffers to the file ``COMMAND HISTORY A``. You must remember to type just ``LOG`` to logoff so it is called. If you type ``#CP LOGOFF`` it will not be called and you lose the command history for that session. Here is a sample:
0 commit comments