Creating an intermediate production plan
The planman with the crt option
is invoked from within the JnextPlan command in one of these
two situations:
- The first time the JnextPlan command is run after having installed the product.
- When generating a production plan after having reset the production plan using the ResetPlan command.
Symnew
, covering the whole
time the new production plan that is being generated will cover. The
following syntax is used:planman [connection_parameters] crt
[-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.
- -from
- Sets the start time of the new production plan. 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
- Is the new production plan end time. The format for the date is the same as that used for the -from argument. The -to argument is mutually exclusive with the -for and -days arguments.
- -for
- Is the plan extension expressed in time. The format is hhhmm, where hhh are the hours and mm are the minutes. The -for argument is mutually exclusive with -to argument.
- -days n
- Is the number of days you want to create the production plan for. The -days argument is mutually exclusive with the-to argument.
Note:
- Make sure you run the planman command from within the JnextPlan command.
- 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 production plan length is one day.
These are some examples of using the planman command assuming the date format set in the
localopts
file is mm/dd/yyyy: - This command creates the production plan from 03/13/2024 at 23:07 (11:07 PM)
to 03/14/2024 at 23:06 (11:06 PM) in the local time zone:
planman crt –from 03/13/24 2307 -to 03/14/24 2306
- This command creates the production plan from 03/13/2024 at 09:00 (9:00 AM)
to 03/13/2024 at 15:00 (3:00 PM):
planman crt –from 03/13/2024 0900 -for 0600
- This command creates a production plan from 03/13/2024 at 18:05 to
03/24/2024 at 23:00 in the time zone of Europe\Paris:
planman crt –from 03/13/2024 1805 tz Europe/Rome –to 03/24/2024 2300 tz Europe/Rome
- This command creates a plan which runs for 6
hours:
planman crt -for 0600