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


Keyphrase syntax

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

Single-valued keyphrases can have this syntax:
ISREDIT keyphrase = keyphrase
ISREDIT keyphrase = value
ISREDIT keyphrase = keyphrase + value
ISREDIT keyphrase = value + value
Double-valued keyphrases can have this syntax:
ISREDIT (varname,varname) = keyphrase
ISREDIT keyphrase = value-pair
where value-pair is one of these:
  • Two literals, which can be separated by a comma or blank. For example:
    Table 1. Separating two literals
    CLIST Statements REXX Statements
     
    ISREDIT CURSOR = 1,40
    ISREDIT CURSOR = 1 40
    ADDRESS ISPEXEC
    'ISREDIT CURSOR = 1,40'
    'ISREDIT CURSOR = 1 40'

    Apostrophes or quotes cannot be used when specifying two numeric values. All of these, for example, are incorrect:

    CLIST Statements
    REXX Statements
      ISREDIT CURSOR = '1','40' ISREDIT CURSOR = '1,40'
    ADDRESS ISPEXEC
    "ISREDIT CURSOR = '1','40'"
    "ISREDIT CURSOR = '1,40'"
  • Two variable names enclosed in parentheses and separated by a comma or blank, where each variable contains a single value:

    (varname,varname) or (varname varname)

In any edit assignment statement containing a two-valued keyphrase, either of the variables or values in a pair can be omitted. The general syntax then becomes:
ISREDIT  (varname) = keyphrase
ISREDIT  keyphrase = single-value
ISREDIT  (,varname) = keyphrase
ISREDIT  keyphrase = ,single-value
Note: Even though you can use blanks instead of commas to separate paired variables or values, you must use a leading comma whenever the first variable or value has been omitted.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014