ScanPDS: Edit search of entire data set

SCANPDS is an edit macro that uses SuperC to search all members in the data set or concatenation you are editing and presents a member list with all the members containing the search string. From that member list you can edit, browse or view each member.

This function is superceded by ISPF's built-in member list SRCHFOR commnad.

SCANPDS is available as source code.

To save the source code using Netscape or Internet Explorer, select the link above with the right mouse button and select 'Save Link As...' or Save Target as...'

Function

Search all members of the data set or concatenation you are editing and present a working member list with the results.

Calling Syntax from ISPF (assuming you name the exec SCANPDS):

  SCANPDS string

where string is the data to search for. The string may be a quoted string.

Output

A member list containing the members in which the string exists. If the string exists in more than one member of the same name within a concatenation, only the first member is shown. This is consistent with how edit member list works.

Installation

  1. Place scanpds.txt in a library allocated to SYSEXEC or SYSPROC. Since SCANPDS is probably a common name, you can give it any name you want to.

Samples

N/A