z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Picture string examples

z/OS ISPF Edit and Edit Macros
SC19-3621-00

  • To find a string of 3 numeric characters:
    • FIND P'###'
  • To find any 2 characters that are not blanks but are separated by a blank:
    FIND P'¬ ¬'
  • To find any character that cannot be displayed:
    FIND P'.'
  • To find a blank followed by a numeric character:
    FIND P' #'
  • To find a numeric character followed by AB:
    FIND P'#AB'
  • To find the next character in column 72 that is not a blank:
    FIND P'¬' 72
  • To change any characters in columns 73 through 80 to blanks:
    CHANGE ALL P'=' ' ' 73 80
  • To find the next line with a blank in column 1 and a character in column 2 that is not a blank:
    FIND P' ¬'  1

When you use the special characters = or . and a character that cannot be displayed is found, that character's hexadecimal representation is used in the confirmation message that appears in the upper-right corner of the panel. For example, the command FIND P'..' could result in the message CHARS X'0275' FOUND.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014