PeopleSoft Purge Process for Process Scheduler
What does PRCSYSPURGE process do?
The PRCSYSPURGE application engine program is run on the master Process Scheduler server.
Updates statistics and purges process request tables.
What tables are affected by PRCSYSPURGE?
In the [PSTOOLS] section, check the value for 'DbFlags'. A value of 0 issue a command to issue the update table statistics to the database while a value of 1 will not update statistics. It is essential to set DBFlags to 0 while setting Update Table Stats on Purge to 1. Because only if the DbFlags allows statistics update, the purge process can update statistics.
At what frequency PRCSYSPURGE process runs?
PRCSYSPURGE process runs based upon the frequency and options set in the below navigation:
PeopleTools > Process Scheduler > System Settings > System Purge Options
Security Setup required to run PSRCSYSPURGE Process:
To find out all the OPRIDs having access to run PRCSYSPURGE program, use the below SQL statement:
SELECT c.oprid
FROM ps_prcsdefngrp a,
psauthprcs b,
psoprcls c
WHERE a.prcstype = 'Application Engine'
AND a.prcsname = 'PRCSYSPURGE'
AND a.prcsgrp = b.prcsgrp
AND b.classid = c.oprclass
Security Setup to run PRCSYSPURGE process:
The PRCSYSPURGE application engine program is run on the master Process Scheduler server.
Updates statistics and purges process request tables.
- Cleans up Report Manager Repository and purges Report Repository tables.
- If more than one Process Scheduler server exists, the application engine program PRCSRVCLN is scheduled to run. This program cleans up the Report Repository tables for a specific server.
- The application engine program PSXPARCHATTR gets run to archive BI Publisher report-related metadata and the URLs of the report files.
What tables are affected by PRCSYSPURGE?
The purge process updates the statistics of the following tables before deleting entries from them:
This step removes all expired entries from the process request tables. These tables include:- PSPRCSRQST - Process Request table
- PSPRCSQUE - Process Request Queue
- PSPRCSCHLDINFO
- PSPRCSPARMS - Process Request Parameters
- PS_MESSAGE_LOG - Message Log Table
- PS_MESSAGE_LOGPARM - Message Log Parameter Table
- PSPRCSRQSTXFER
- PSPRCSRQSTTEXT
- PSPRCSRQSTFILE
- PSPRCSRQSTMETA
- PSPRCSRQSTSTRNG
- PSPRCSRQSTTIME
- PS_PRCSRQSTNOTIFY
- PS_PRCSRQSTURL
- PS_PRCSFILE
- PSPRCSJOBSTATUS
- PSNVSBATCHRSTRT
- PS_PRCSRQSTDIST - Content Distibution Manager
- PS_CDM_LIST - Content Distribution Manager - Content List
- PS_CDM_AUTH - Content Distribution Manager - User Access
- PS_CDM_FILE_LIST - Report Manager - File List
- PS_CDM_TRANSFER
- PSRF_RATTR_TBL
- PSRF_RSCRTY_TBL
- PSRF_RDESC_TBL
- PSRF_RDESC_LANG
- PSRF_RINFO_TBL
- PSPRCSRQSTARCH.
- Clean the archive table PS_CDM_LIST_PURGE
In the [PSTOOLS] section, check the value for 'DbFlags'. A value of 0 issue a command to issue the update table statistics to the database while a value of 1 will not update statistics. It is essential to set DBFlags to 0 while setting Update Table Stats on Purge to 1. Because only if the DbFlags allows statistics update, the purge process can update statistics.
At what frequency PRCSYSPURGE process runs?
PRCSYSPURGE process runs based upon the frequency and options set in the below navigation:
PeopleTools > Process Scheduler > System Settings > System Purge Options
Security Setup required to run PSRCSYSPURGE Process:
- The PRCSYSPURGE program is delivered with the TLSALL process group. The user running the purge process must have access to the process group TLSALL within the primary process profile.
- The user running the process is attached to the 'ProcessSchedulerAdmin' role.
- The user running the process is attached to the 'ReportDistAdmin' role.
- The Oprid must have the "Can start Application Server" permission assigned i.e. this permission list along with the TLSALL process group be attached to the user through any of the roles assigned to him/her.
- The Oprid must have a valid Process Profile and Primary Permission List.
To find out all the OPRIDs having access to run PRCSYSPURGE program, use the below SQL statement:
SELECT c.oprid
FROM ps_prcsdefngrp a,
psauthprcs b,
psoprcls c
WHERE a.prcstype = 'Application Engine'
AND a.prcsname = 'PRCSYSPURGE'
AND a.prcsgrp = b.prcsgrp
AND b.classid = c.oprclass
Security Setup to run PRCSYSPURGE process:
1) Navigate to PeopleTools -> User Profiles
2) Search and Select the Oprid for which access needs to be given.
3) Navigate to the Roles tab and add a new row.
4) Assign the "ProcessSchedulerAdmin" role.
5) Add another new row and assign the "ReportDistAdmin" role.
6) Add another new row and assign the "PeopleSoft User" role.
7) Add another new row and assign the "PeopleTools" role.
8) Now go to the General tab and note the Process Profile value.
9) Save the component.
10) Now go to the navigation: PeopleTools > User Profiles > Permissions & Roles
11) Select Permission Lists and search for the Permission List noted in Step 8.
12) On the General tab, select the "Can Start Application Server?" checkbox.
13) Select the Process tab and in the "Process Group" link enter a new value: "TLSALL".
14) Hit Ok to return to the previous page and Save.
Configuration Steps to run PRCSYSPURGE purge program:
- Define report nodes for all active process schedulers.
- Configure Master Scheduler as a Master Scheduler must run for the purge process to run.
- Ensure that the user ID that starts the process scheduler is included in a process group for PRCSYSPURGE. The PRCSYSPURGE program is delivered with the process group TLSALL.
- Configure the System Purge Options page.
- Enable Purge.
Hi, I want to delete PSREOPRTS Older than 1 Year , What retention days should I specify and where ?
ReplyDeleteAs I see there is hierarchy how this Expiration Days are selected.