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.
The result of running this command is the creation of a new intermediate production plan, named 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:
  1. Make sure you run the planman command from within the JnextPlan command.
  2. 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:
  1. This command creates the production plan from 03/13/2021 at 23:07 (11:07 PM) to 03/14/2021 at 23:06 (11:06 PM) in the local time zone:
    planman crt –from 03/13/21 2307 -to 03/14/21 2306
  2. This command creates the production plan from 03/13/2021 at 09:00 (9:00 AM) to 03/13/2011 at 15:00 (3:00 PM):
    planman crt –from 03/13/2021 0900 -for 0600
  3. This command creates a production plan from 03/13/2021 at 18:05 to 03/24/2021 at 23:00 in the time zone of Europe\Paris:
    planman crt –from 03/13/2021 1805 tz Europe/Rome 
                –to 03/24/2021 2300 tz Europe/Rome
  4. This command creates a plan which runs for 6 hours:
    planman crt -for 0600