Examples of using ISFACT

The following examples illustrate how to issue an action character and modify a column, after having first issued the appropriate panel command with ISFEXEC. For more complete examples, see Examples of REXX execs.

  1. Issue the P action character for row 4 on the H panel.

    Address SDSF "ISFACT H TOKEN('"TOKEN.4"') PARM(NP P)"

  2. Issue the P action character for rows 1 and 2 on the H panel.

    Address SDSF "ISFACT ST TOKEN('"TOKEN.1"','"TOKEN.2"') PARM(NP P)"

  3. Issue the P action character for the row the number of which is represented by variable ix on the H panel.

    Address SDSF "ISFACT H TOKEN('"TOKEN.ix"') PARM(NP P)"

  4. Modify the priority of multiple jobs.

    Address SDSF "ISFACT ST TOKEN((TOKEN.)) PARM(JPRIO 10)"

    For this type of usage, you would use command parameters or special variables to limit the panel to just those jobs you want to modify. For a complete example, see Modify a value for a set of jobs.

  5. Issue the P action character for rows that are identified by tokens in the stem variable JSTEM.

    Address SDSF "ISFACT ST TOKEN((JSTEM.)) PARM(NP P)"

    For this type of usage, you would use logic to set the values in the stem variable JSTEM. to the tokens, in stem variable TOKEN., for those jobs you want to modify. For a complete example, see Modify a value for a set of jobs.

  6. For row 2 on the O panel, modify the class to A and the forms to 1234.

    Address SDSF "ISFACT O TOKEN('"TOKEN.2"') PARM(OCLASS A FORMS 1234)"

  7. Allocate all data sets in the job represented by row 5 on the ST panel.

    Address SDSF "ISFACT ST TOKEN('"TOKEN.5"') PARM(NP SA)"