I removed several PROFILES from from Profile Maintenance in our production TPX 5.4 application. These profiles were single application PROFILES.
Once the profiles were deleted, I tried several commands to refresh the current running PROFILES but could not. I tried reloading the SMRT and the ACT but this did not result in refreshing the loaded PROFILES so when users logged on, the applications would no longer be present on their main MENU. The sessions persist even if the user signs off TPX then back on after the delete.
Is there a way to reload all PROFILES such that the ones deleted would not show up?
Once a TPX profile has been loaded into memory, you can alter it with RELOAD, but there is no way to delete it from memory without restarting (cycling) TPX.
Cycling TPX will always reset the list of profiles stored in memory.
As a workaround until you are able to restart TPX, you can delete all sessions from the profile prior to deleting:
You should also identify the SMRT Profile Selection method in use for your TPX so that you can do any corresponding cleanup of old profile names from external security records and/or TPXUSNSF signon/signoff exit as well as any obsolete sessions within the default dynamic user profile.
1) SMRT Security Parameter:
Profile Selection - Specifies how the list of profiles for dynamic users is determined. Specify one of the following:
NONE - The user will be assigned profiles by the TPXUSNSF exit or the default profile specified in the SMRT.
USER - The user will be assigned profiles through user-level selection. Information in the user's security record will determine the profiles.
PROF - The user will be assigned profiles through profile-level selection. TPX will check the list of profiles it has in storage and make a call to the security system to determine if the user has access to the profiles. You must build the appropriate rules for each profile in the security system.
2) In TPX r5.4, user exits can be activated or deactivated dynamically once these Published Solutions for TPX 5.4 are applied: PTFs RO86230 & RO86231. Use TPXOPER: RELOAD EXIT=modulename.