There is a need to update a users Sessions parameters in Batch, how is the statement coded?
Release : 5.4
Component : TPX for z/OS
On the Userid Maintenance Detail for a session, there are 8 Parm fields Parm 1-8. This example shows how to update the first four:
UPDATE TPX USERSESSION (USERA CA32 <<< userid and session name
(UENTUPB1(PARM1CC)
UENTUPB2(PARM2YY)
UENTUPB3(PARM3KK)
UENTUPB4(PARM4UU)))
If the users sessions are built from profiles, they would not have a usersession record, therefore the usersession must be added prior to being able to update the values:
ADD USERSESSION (USERA CA32)
The update could be made through the panels.
If there is not a usersession the job may end with:
VSAM GET return code is 8
means record not found on file
while UPDATing UUSERA CA32
See the following article for more detail: