| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Historical Data (CRTHSTDTA) command creates and adds historical data for a member to the historical data files. Historical data is an ongoing summary of the system reflecting the members that have been summarized using this command.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| MBR | Member | Name | Required, Positional 1 |
| LIB | Library | Name, QPFRDATA, *CURLIB | Optional, Positional 2 |
| REPLACE | Replace | *NO, *YES | Optional |
| JOBD | Job description | Single values: *NONE Other values: Qualified object name |
Optional |
| Qualifier 1: Job description | Name, QPFRJOBD | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB |
| Top |
Specifies the member to be used to create the historical data. Specify the name of the member.
This is a required parameter.
| Top |
Specifies the library where the member is located.
The possible library values are:
| Top |
Specifies whether to replace the historical data for the member if it already exists.
| Top |
Specifies the job description used to submit jobs for batch processing.
| Top |
Example 1: Creating Files in Default Library
CRTHSTDTA MBR(MONDAY)
This command creates files that contain historical data with the member named MONDAY.
Example 2: Creating Files in Specified Library
CRTHSTDTA MBR(TUESPM) LIB(MYLIB)
This command creates files that contain historical data with a member named TUESPM located in library MYLIB.
| Top |
*ESCAPE Messages
| Top |