Process Function Locking

Visual LANSA Admins

Process/Function Locking

In LANSA, whenever a function is moved, the process is also moved to protect the structure, that is, there must be a process for the function to be contained within.

The Lock functions to same task as process setting on the LANSA for iSeries Master System will disable the task tracking logic that enforces that all functions to be locked with the same Task ID as the parent process. This flag only applies when the Allow user to change tasks while working? task tracking option is set to NO. This setting is stored as the *TTG6FUNCLOCKING value in the DC@OSVEROP data area.

Summary of Process/Function movement with various system settings

Object

Task

Check Out Mode:
U=update,
R=read only

*TTG6FUN
CLOCKING

DC@A07
check-in
unlocking
flags

Checked
In

Locked to task in IBM i after
Check In

Set to read only in VL

Process

Function

Normal Task

U

U

OFF

N/A

Y

Y

Y

Y

N

N

Process

Function

Normal Task

R

U

OFF

N/A

Y

Y

Y

Y

unchanged

N

Process

Function

Normal Task

U

U

ON

N/A

Y

Y

Y

Y

N

N

Process

Function

Normal Task

R

U

ON

N/A

N

Y

Unchanged

Y

Unchanged

N

Process

Function

*N

U

U

OFF

N--

Y

Y

N

N

N

N

Process

Function

*N

R

U

OFF

N--

Y

Y

N

N

Unchanged

N

Process

Function

*N

U

U

OFF

Y--

Y

Y

N

N

Y

Y

Process

Function

*N

R

U

OFF

Y--

Y

Y

N

N

unchanged

Y

Process

Function

*N

U

U

ON

N--

Y

Y

N

N

N

N

Process

Function

*N

R

U

ON

N--

N

Y

N

N

Unchanged

N

Process

Function

*N

U

U

ON

Y--

Y

Y

N

N

Y

Y

Process

Function

*N

R

U

ON

Y--

N

Y

N

N

Unchanged

Y

 

 

Note: *U and *T tasks perform the same way.

Object

Task

Check Out
Mode:
U = update,
R = read
       only

*TTG6FUN
CLOCKING

DC@A07 check-in
unlocking
flags

Checked
In

Locked to task in IBM I
after
Check In

Set to
read
only
in VL

Process

Function

*U & *T

U

U

OFF

-NN

Y

Y

Y

Y

N

N

Process

Function

*U & *T

R

U

OFF

-NN

Y

Y

Y

Y

unchanged

N

Process

Function

*U & *T

U

U

OFF

-YY

Y

Y

N

N

Y

Y

Process

Function

*U & *T

R

U

OFF

-YY

Y

Y

N

N

Unchanged

Y

Process

Function

*U & *T

U

U

ON

-NN

Y

Y

Y

Y

N

N

Process

Function

*U & *T

R

U

ON

-NN

N

Y

unchanged

Y

Unchanged

N

Process

Function

*U & *T

U

U

ON

-YY

Y

Y

N

N

Y

Y

Process

Function

*U & *T

R

U

ON

-YY

N

Y

unchanged

N

unchanged

Y

 

 

If the process and function are placed in Visual LANSA by propagation, they will be read only.

If the process and function are moved to Visual LANSA by export, the process can be set as read only or update.

WEBEVENT applications require special consideration as there are several HTML definitions associated with a process which can cause overwriting problems (e.g. LAYOUT, MENU, etc). Various web settings for Import and Export processing are available on the iSeries Master. These are described in Export and Import settings . These settings can be set as required to restrict the movement of associated HTML pages.

For example, you may want to move the HTML for the function but not the HTML for the process. This can be achieved by moving the Process as "Read only". The function can be moved for "Update". This has the effect of checking out/ in the function without the process. This can also be achieved by using the Lock functions to same task as process setting. The HTML definitions included in the import / export are determined by the Import and Export system settings.

 

Note: When Lock functions to same task as process setting is set or the Check-in Unlocking or Export and Import settings are changed, the system definition in Visual LANSA must be refreshed and the host monitor stopped and restarted. Ensure that the host monitor has stopped before restarting.

Ý 6.2.3 Task Tracking Set up