IBM Support

When I use the S primary command from the member list that I get from the SF command, I get message "COMMAND S NOT FOUND". Why can't I select a member?

Question & Answer


Question

I used the SF (SRCHFOR) line command against a data set from a data set list. This displays a member list with *FOUND in the prompt field for every member that had the string I was looking for. But if I try to select one of the members from the command line, like this:

 S TEST

I get TSO message:

 COMMAND S NOT FOUND

If I try to select a member from the member list with the S line command, I get ISPF message:

 Command failed
 ISRU208 Command 'S' not found, invalid, or issued return code 20.

Answer

The SF line command returns a generic member list, just as it would have if you selected the data set with M. There is no default selection for the generic member lists. According to the tutorial,

you may select one or more members for processing by entering a P (print), R (rename), D (delete), V (view), E (edit), B (browse), M (move), C (copy), G (reset), W (WS cmd), T (TSO cmd), J (submit), "/" (command prompt), or "=" (repeat), in front of member. If you use any other selection, it will be treated as a TSO command which will be passed the quoted fully qualified data set name including the member name.

If you want to select a member from the command line, you can select the member with a qualifier like this:

 S TEST E   

to select member TEST for edit. You can use E for Edit. B for browse, V for View, and the other line commands should work too.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSBLLD","label":"ISPF for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
18 February 2016

UID

dwa1253865