On member list displays for the Library utility (option 3.1) and the Data Set List utility (option 3.4), you can enter these line commands at the beginning of a line, ahead of one or more member names:
Any data in the prompt field is passed as an argument to any TSO command, CLIST or REXX EXEC. When the '=' command is used the previous prompt data is also passed. Any prompt data that starts with '*' is ignored.
Consider the following items when using line commands with members in a PDSE version 2 data set that is configured for member generations:
The next two figures show before and after examples that print members TEST and TEST1, delete member TEST8, and rename member TEST4 to OLDTEST.
Menu Functions Confirm Utilities Help
──────────────────────────────────────────────────────────────────────────────
LIBRARY USERID.TEST.SOURCE Row 0000001 of 0000009
Name Prompt Size Created Changed ID
P TEST 1 2003/02/03 2003/02/03 17:04:14 USERID
P TEST1 1 2003/02/03 2003/02/03 17:04:14 USERID
TEST2 1 2003/02/03 2003/02/03 17:04:23 USERID
TEST3 1 2003/02/03 2003/02/03 17:04:14 USERID
R TEST4 OLDTEST 1 2003/02/03 2003/02/03 17:04:14 USERID
TEST5 1 2003/02/03 2003/02/03 17:04:14 USERID
TEST6 1 2003/02/03 2003/02/03 17:04:14 USERID
TEST7 1 2003/02/03 2003/02/03 17:04:14 USERID
D TEST8 1 2003/02/03 2003/02/03 17:04:14 USERID
**End**
Command ===> Scroll ===> PAGE
F1=Help F2=Split F3=Exit F5=Rfind F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cancel
Menu Functions Confirm Utilities Help
──────────────────────────────────────────────────────────────────────────────
LIBRARY USERID.TEST.SOURCE Row 0000001 of 0000009
Name Prompt Size Created Changed ID
_ TEST *Printed 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST1 *Printed 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST2 1 2003/02/03 2003/02/03 17:04:23 USERID
_ TEST3 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST4 *Renamed
_ TEST5 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST6 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST7 1 2003/02/03 2003/02/03 17:04:14 USERID
_ TEST8 *Deleted
**End**
Command ===> Scroll ===> PAGE
F1=Help F2=Split F3=Exit F5=Rfind F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cancel