You are here: LANSA for i User Guide > 5. Housekeeping > 5.5 How to Invoke the Work With Tasks Facility > 5.5.8 Change Task for an Object

5.5.8 Change Task for an Object

When option 9=Change task is chosen from the 'Review Task Identifier History' menu, a screen similar to the following example is displayed for you to change the task the object is locked to:

 

  DC@P811201         Change Task for an Object

 

 Task ID     :  XXXXXXXXXXXXXXXXXXXXX                     Status: XXX

 Specify New Task & Copy History (YES/NO) or Release PC (YES/NO) only

 as Default OR for each Object

                                                   New      Copy Rel

                                         Default:  Task     Hist PC 

                                                   ________ ___ ____

                                                  

                                       Current  New       Copy   Rel

 Part  Object    Extension  Type       PC       Task      Hist   PC

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 DEM   *AQJPNSYSV   ARI    SYS VAR     XXXXXX   QATEST              

 

 

  Fnn=Help Fnn=Exit Fnn=Cancel Fnn=Messages

 

 

Working from the 'Change Task for an Object' screen it is possible to:

If repository propagation is not on, then you must manually change all PC Repositories to reflect the changes made on the Master Repository. If this is not done it is possible for a PC to overwrite changes on the IBM i Master Repository.

These input options are required when changing the task identifier for an object:

New Task ID

To change the Task ID that the object is locked to, enter the new Task ID for the object, leaving Release from PC Only blank. This Task ID must be already exist.

To unlock the object from the current task ID, leave blank, leaving Release from PC Only blank also.

In both cases the PC lock will be released.

Note that task identifiers are shared across all partitions, they are not unique in each partition.

Default Values

You may enter a New Task and Copy History OR Release from PC as a default value or you may enter the value for individual objects. The Default values will be used when values are not provided for an individual object.

Copy Event History

Indicates whether or not the event history for the object is to be copied to the new task identifier.

Enter YES if the event history for the object is to be copied to the new Task ID. This is not applicable if the object is simply being unlocked from the task, or if the object is being released from the PC only.

Enter NO if the event history for the object is not to be copied to the new Task ID.

Release from PC

Indicates whether or not to release the object from the PC it is locked to only.

Enter YES to release the object from the PC it is locked to while it remains locked to the task. This is not applicable if the Task ID that the object is locked to is being changed.

Note:

Up to 100 objects may be listed. If more than 100 objects were selected, the list will be presented multiple times.

When you have finished changing the task for all the objects, you will be returned to the Review Task Identifier History menu.