1. The SYSAUDIT report indicates that there are objects out of sync.
2. A GSC analyst recommends its use.
3. The PeopleTools Development Team's recommendation for a specific issue.
4. Following a major PeopleTools upgrade or major application upgrade.
5. An Installation Guide indicates its need.
NOTE: The use of VERSION should NOT be run as matter of standard operating procedure.
Due to some side effects from the Application Designer program (PSIDE.EXE), VERSION must be run only when:
- All Application Designer clients are completely logged out and shut down.
- All Application Servers, Process Schedulers and other PeopleTools clients are completely shut down.
- Many customers choose to restart the database to ensure that this is the case (optional)
If the VERSION program is run incorrectly:
- Performance can be dramatically impacted.
- Application integrity can possibly be affected; simple saving efforts from Application Designer can fail.
Proper Procedure to Run the VERSION Application Enginer Program:
VERSION AE should only be run from a command line:
1. Shutdown all Application Servers, Process Schedulers, and other PeopleTools clients.
2. ***CRITIAL STEP*** Ensure that all Application Designer session are logged out and shut down. If necessary, shutdown and restart the database and its communication software.
3. Establish the proper shell environment. Normally this includes:
- Loging in as your PeopleSoft ID
- Changing to the PSFT bin directory cd $PS_HOME/bin
- Setting the PS_SERVER_CFG environment variable
export PS_SERVER_CFG=$PS_HOME/appserv/prcs/
4. Execute the command from a command line:
psae -CD dbname -CT dbtype -CO oprid -CP pswd -R INSTALL -AI VERSION
Note: INSTALL must be a valid run control for oprid
**********************************************************************************************
cd $PS_HOME/bin
export PS_SERVER_CFG=/opt/bea/pt848/appserv/prcs/PRCSDOMAIN/psprcs.cfg
psae -CD DB_NAME -CT DB2ODBC -CO PS -CP PSWD -R ADHOC -AI VERSION
**********************************************************************************************
5. Issue the following SQL and archive the output to ensure that the program ran (all the versions should be 1).
SELECT * FROM PSVERSION ORDER BY VERSION DESC;
6. Clear the cache files from the Application Server, Web Servers, Process Schedulers, and Client machines.
7. Restart the system per normal operational procedures. There will be expected performance impact as the system rebuilds its cache files.
8. Over the course of the following days, every 4 hours or so, rerun the SQL from Step #5. You should observe a gradual growth of the versions, typically in the order of dozens per day. The version associated with SYS should always be equal to or greater than all other values in the table.
Should you observe one of the following conditions contact the GSC immediately for further advice:
1. The version value associated with SYS is no longer greater to or equal all other value in the PSVERSION table.
2. Some of the values increase dramatically, on the order of several thousand, and then remain fairly constant. Normal behavior is for the values to increase by increments of 1. One exception would be during the migration of a project with many records. Some values will increase by the number of records migrated.
***As given in PeopleSoft Customer Connection... http://www.peoplesoft.com/
8 comments:
What are the steps to run an Application Engine program from command line. I ran AE program thru front end and it suceeds, now i want to run it thru command line just to make sure it suceeds and we have propers privileges.
I just ran an Application Engine program (it suceeded) thru front end to make sure that i have sufficient privileges to do an upgrade. Now i want to run AE program thru command line also. Please let me know the steps to run and AE thru command line.
Thanks
You can run AE program using psae utility of peoplesoft... usage of psae utility is as below:
psae -CT dbtype -CS server -CD database name -CO oprid -CP oprpswd -R run control id -AI program id -I process instance -DEBUG Y|N -DR Y|N -TRACE value -DBFLAGS value -TOOLSTRACESQL value -TOOLSTRACEPC value -OT output type -OF output format -FP file path
or
psae parmfile
-(RE)CONVERT product.appl id (e.g. AE.TESTAPPL)
Not all the options in the command are mendotary...
Your blogs is indeed a great help to peoplesoft admins club.
I must really recommend it to all peoplesoft industry..
Great job rakesh..
Regards,
Mrinal Misra
Noida
Hi Rakesh,
I need to know how to change the file output path when running Application engine from command line.
I have an AE in which i am opening a log file using command GetFile("abc.csv",w", "a", %FilePath_Absolute);
the program generates the log file when i run the ae from pia process scheduler ,
but when i run from command prompt using psae opitons of FP it doesnt get transfered to the file location i provide rather it gets created in home directory of psae in this case WINX86 folder , i need some how redirect file to other path then home directory.
your inputs on this is much appreciated.
Thanks
Sachin
Hi Rakesh,
Could you please give a brief outline of how to use change assistant to apply Maintenance Packs to peoplesoft applications.
Hello Rakesh,
Can it be benifitial to run VERSION App engine after big code drops( migration) happens in Peoplesoft envoirnment.
Post a Comment