z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


C — copy formats

z/OS ISPF User's Guide Vol II
SC19-3628-00

If you specify option C on the Format Specifications panel:
  • If you specify both an asterisk (*) in the From Format field and a table name other than ISRFORM in the From Table field, all formats stored in the "From" table are copied to ISRFORM.
    Note: If you specify a table name in the From Table field, and that table does not have the same format as ISRFORM, a severe error occurs.
  • If you specify both a format name and a "From" format, the format is copied. If you specified a "From" table (other than ISRFORM), the format is copied from that table. Otherwise, the format is copied from ISRFORM. The Format Definition panel for the newly created format, containing the currently defined fields, is displayed. You can add, delete, and update field definitions. When you enter the END command, the format definition is stored in ISRFORM under the format name you specified.
  • If you specify a format name but no "From" format, the Copy Format Selection List panel (Figure 1) is displayed.

    If you did not specify a "From" table, the formats listed are those stored in ISRFORM, the default format table. Otherwise, the formats listed are those stored in the table you specified.

    Note: The ISRFORM table is the default location in which all of your user-defined formats are stored. If you have not yet defined any formats, the table will be empty and you will receive a "No formats found" message.

    You can select a format to copy by entering the S line command to the left of that format name. Other commands you can enter are U (Update), R (Rename), D (Delete), SELECT (which is similar to S), SORT, and LOCATE. See Format selection list commands for a description of these commands.

    The format is copied, and the Format Definition panel for the newly created format, containing the currently defined fields, is displayed. You can add, delete, and update field definitions. When you enter the END command, the format definition is stored in ISRFORM under the format name you specified on the Format Specifications panel.

  • If you specify neither a format name nor a "From" format, but you do specify a "From" table (other than ISRFORM), the Copy Format Selection List panel is displayed. You can select one or more formats to copy by entering the S line command to the left of each format names. Each of these formats is copied under the same name from the specified "From" table to the ISRFORM table.
Note: If you do not specify option C but specify a name in the From Format field, the From Format field is ignored.
Figure 1. Copy Format Selection List panel (ISRFM04)
                     Copy Format Selection List (ISRFORM)       Row 1 to 4 of 4
        Name      Rename    Created   Last Modified       ID
        COMMON01            02/11/19  02/11/19  11:08     USERID
        COMMON02            02/11/19  02/11/19  11:16     USERID
        COMMON03            02/11/19  02/11/19  11:16     USERID
        COMMON04            02/11/19  02/11/19  11:16     USERID
 ******************************* Bottom of data ********************************





 ⋮
 Command ===>                                                 Scroll ===> PAGE
  F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward   F9=Swap
 F12=Cancel

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014