PRSTART – Period common details (PRCOM segment)

Use the PRSTART statement to defines the common part of a Period.

Table 1. Keywords for PRSTART
Keyword Description
DROP Specifies a date in the format YYMMDD, or + or – a number of days, that ensures that any Period interval preceding that date will be dropped from the Period.
Note: For intervals with start and end dates, the end date will be compared with the DROP value, otherwise the start date will be used.
For example, to drop any dates over a year old:
OPTIONS DBMODE(UPDATE)
PRSTART PERIOD(YEAREND) DROP(-365)
PERIOD Specifies the period name.
PRTYPE Specifies the type of period:
A
All-days cyclic period. A period that includes both work days and free days (requires INTERVAL to be set).
W
Work-days-only cyclic period. A cyclic period that includes only work days (requires INTERVAL to be set).
N
Non-cyclic period (requires PRDATE statements, ADID or DATELIST to be specified).
DESCR Specified the description of the period, up to 30 characters.
INTERVAL Specify a value from 1 to 999 for cyclic periods.
TABLE Specifies the name of a JCL variable table to be associated with the occurrence for Period based run cycles.