Creating a forecast plan

The following syntax is used to create a forecast plan:

planman [connection_parameters] crtfc file_name

[ -from mm/dd/[yy]yy [hh[:]mm [tz | timezone tzname]]]

{-to mm/dd/[yy]yy[hh[:]mm[tz | timezone tzname]] |

-for [h]hh[:]mm [-days n] |

-days n}

where:
connection_parameters
Defines the settings to use when establishing the connection using HTTP or HTTPS through WebSphere Application Server Liberty to the master domain manager. For more information refer to Planman command line.
file_name
Assigns a name to the file to be created under the directory TWS_home/schedForecast and that contains the forecast plan. The name of the file containing the forecast plan is Ffilename. This means that if the value assigned to file_name is myfile then the file name that contains the generated forecast plan is Fmyfile.

The maximum length of file_name can be 148 characters.

-from
Sets the start time of the forecast plan. It includes the specified minute.
If the -from argument is omitted, then:
  • The default date is today.
  • The default hour is the value set in the startOfDay global option using optman on the master domain manager.
-to
Sets the end time of the forecast plan. It excludes the specified minute. The -to argument is mutually exclusive with the -for and -days arguments.
-for
Sets the length of the forecast plan. The format is hhhmm, where hhh are the hours and mm are the minutes. The -for argument is mutually exclusive with the -to argument.
-days n
Sets the number of days you want the forecast plan to last for. If the interval contains DST (daylight savings time), it is automatically included in the calculation. The -days argument is mutually exclusive with the -to argument.
Note: The format used for the date depends on the value assigned to the date format variable specified in the localopts file.

If no -to, -for, or -days arguments are specified then the default forecast plan length is one day.

See also

From the Dynamic Workload Console you can perform the same task as described in:

Generating Trial and Forecast Plans.