| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Copy Functional Area (CPYFCNARA) command allows the user to copy a functional area to a new functional area. Functional areas are used for performance tools reports and graphics. A functional area is a pre-defined list of job names and user names that are included in a report or graph.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FROMFCNARA | From functional area | Character value | Required, Positional 1 |
| FROMLIB | From library | Name, QPFRDATA | Optional, Positional 2 |
| TOFCNARA | To functional area | Character value, *FROMFCNARA | Optional, Positional 3 |
| TOLIB | To library | Name, *FROMLIB | Optional, Positional 4 |
| REPLACE | Replace | *NO, *YES | Optional |
| Top |
Specifies the name of the functional area from which to copy. Enclose the name in apostrophes if it contains any spaces between characters.
This is a required parameter.
| Top |
Specifies the location of the functional area to be copied.
The possible library values are:
| Top |
Specifies the name of the functional area to which the copy is sent.
The possible library values are:
| Top |
Specifies the library to which the copy of the functional area is sent.
The possible library values are:
| Top |
Specifies whether to replace the functional area in the To functional area prompt (TOFCNARA parameter) if the functional area already exists.
| Top |
Example 1: Copying in the Same Library
CPYFCNARA FROMFCNARA(PERSONNEL) TOFCNARA(MIKE)
This command copies the functional area PERSONNEL to the functional area MIKE. Both functional areas are in the QPFRDATA library.
Example 2: Copying to a Different Library
CPYFCNARA FROMFCNARA('Performance Tools')
TOFCNARA(MIKE) TOLIB(USRLIB)
This command copies the functional area 'Performance Tools' to the functional area MIKE in library USRLIB.
| Top |
*ESCAPE Messages
| Top |