Find command in the mainframe environment is almost all the people used daily. Without this command, there is no work on a mainframe. Because this is such a powerful ISPF search command.

ISPF Find command and its options

Find XXXX   ==> This is the syntax known by many mainframe guys ( F XXXX).

There are some other FIND commands:

When searching for , if any character is present then, we should give the below command.

F  P’=’          ->any character

When searching for, if any non-displayable character is present, then, we should give the below command.

F P’.’     ->non-displayable characters

When searching for , if any alphabetic character is present, then, we should give the below command.

F P’@’       ->alphabetic characters

When searching for , if any non-numeric character is present, then, we should give the below command.

F P’-‘                  ->non-numeric characters

When searching for , if any numeric is present, then, we should give the below command.

F  P’#’                   -> numeric characters

When searching for , if any lower-case alphabetic character is present, then, we should give the below command.

F P'<‘                 -> lower case alphabetic

When searching for , if any special character is present, then, we should give the below command.

F P’$’               -> special characters

When searching for , if any upper-case alphabetic character is present, then, we should give the below command.

F P’>’                   ->upper case alphabetic

When searching for , if any non blank character is present, then, we should give the below command.

F P’¬’         ->non-blank characters

Some more updated recently:

If we want to search it in between to cols:

F C’MAT’  25   35

So, the string contains MAT in between 25 and 35 will be searched.

F ALL ‘CHAR’; X ALL

This command displays only lines where CHAR presents. Rest all lines will be excluded.

If we want to see the lines:

Just enter  ‘S10’  in line command, then, 10 lines will be displayed.

2 responses

  1. Aren’t you missing the “P” (for PICTURE)?

    Like

    1. Thank Ofer. I’m sorry. I missed it. Now I updated. Thanks for reading my blog.

      Like