Example 3

Change PF2 to issue the TSO/E LISTDS command. Each line typed just before the key is pressed is to be substituted as the data set name operand for the command.
change.pfk 2 'listds &1;.* members' tsoin substitute
If you type the following on the screen:
test
sample
and pressed PF2, the following TSO/E commands are executed:
listds test.* members
listds sample.* members