How do I enable PeopleCode trace?
To enable/disable PeopleCode tracing while online:
- Select PeopleTools, Utilities, Debug, Trace PeopleCode. The Trace PeopleCode page appears.
- Select or deselect the desired Options.
- Save the page. If you selected any of the check boxes, the system starts writing to the trace file.
How do I turn on traces in PeopleSoft?
To enable SQL trace in versions 8.0 and higher, the user simply needs to click on the “To set trace flags, click here” link, which leads to a sign in page that includes the SQL trace settings. An alternate way to enable trace if the link is not provided is to add “&trace=y” to the sign in URL.
How do you trace PeopleSoft?
You can use the -TRACE option to trace the SQL executed by an application engine program. This can be added either through the command line debugger or in the override parameters of the process definition. To trace the PeopleCode executed by an application engine program use the -TOOLSTRACEPC option.
How do you debug an application engine?
To enable the PeopleCode debugger for Application Engine:
- Sign on to PeopleTools using the same user ID that you will use to invoke the Application Engine program.
- Open Application Designer.
- Select Debug, PeopleCode Debugger Mode.
- Select Debug, Break at Start.
How do I enable Cobol trace in PeopleSoft?
How to Enable COBOL Trace in PeopleSoft
- Shutdown the application server.
- Open the psappsrv.cfg.
- Set the RCCBL Redirect to 1.
- Uncomment the line Log Directory (in the domain settings section) <== This is a necessary step.
- Set the TraceSQL to 255.
- Save psappsrv.cfg.
Where do PeopleSoft trace files go?
Locating Trace Files
Location Where the Program Was Initiated | Trace File Location |
---|---|
PeopleSoft Process Scheduler | Look for the trace file in a subdirectory of the directory specified in the Log/Output field in the PS_SERVER_CFG file. |
How do I debug PeopleCode?
Access the debugger through Application Designer by selecting Debug, PeopleCode Debugger Mode. The Local Variables watch pane and the Call Stack pane open. PeopleCode programs that had breakpoints set from your previous debugging session are opened also, and the breakpoints are restored.
What are the different ways to debug in PeopleCode?
Debugging Your Application
- Access the PeopleCode debugger.
- Use PeopleCode debugger features.
- Use PeopleCode debugger options.
- Set up the debugging environment.
- Compile PeopleCode programs at once.
- Set PeopleCode debugger log options.
- Interpret the PeopleCode debugger log file.
- Use application logging.
How do I find a trace file in PeopleSoft?
Look for the trace file in %TEMP%\PS\. Look for the trace file in %TEMP%\PS\ db_name on Microsoft Windows NT and in PS_CFG_HOME /log/\ on UNIX and Linux systems. Look for the trace file in the directory specified in the Log/Output field in the PS_SERVER_CFG file.
How do you compile a Cobol program in PeopleSoft?
Compiling COBOL with a PS_APP_HOME Setup
- Verify that the PS_HOME environment variable is set: echo $PS_HOME.
- Set the PS_APP_HOME environment variable (PS_APP_HOME refers to the location where you have installed the PeopleSoft application software) with this command:
- Run pscbl.mak , using one of these methods:
How do I enable debug mode in PeopleSoft application server?
Debugging for a Two-Tier Connection
- Open PeopleSoft Configuration Manager.
- Select the Trace tab.
- Locate the PeopleCode Debugger section, and make sure that the default value for the Local PSDBGSRV Listener Port is suitable for the system.
How do I debug an application package?
If you want to debug your application with elevated permissions, start Visual Studio by using the Run as Administrator option. In Visual Studio, choose Debug->Other Debug Targets->Debug Installed App Package. In the Installed App Packages list, select your app package, and then choose the Attach button.
How do I use PeopleCode debugger?
How do I find my Cobol version in PeopleSoft?
You can logon to My Oracle Support and then go to the Certification tab to determine your COBOL compiler and version options that have been certified with your PeopleSoft application and selected operating system.
What do you know about Cobol?
COBOL stands for Common Business Oriented Language. It is imperative, procedural, and object-oriented. A compiler is a computer program that takes other computer programs written in a high-level (source) language and coverts them into another program, machine code, which the computer can understand.
What are the different ways to Debug in PeopleCode?
How do I Debug a .NET application?
Open the Debug view by selecting the Debugging icon on the left side menu. Select the green arrow at the top of the pane, next to . NET Core Launch (console). Other ways to start the program in debugging mode are by pressing F5 or choosing Run > Start Debugging from the menu.
How do you debug PeopleCode in application designer?
To start the PeopleCode debugger:
- Open PeopleSoft Application Designer.
- Select Debug, PeopleCode Debugger Mode. The Local Variables watch window opens. PeopleCode programs that had breakpoints set from your previous debugging session are opened also, and the breakpoints are restored. Note.
How do I view COBOL program in mainframe?
Displaying and Editing COBOL Code from the Mainframe
- In the Application Explorer view, right-click the ZBNKPRT1 member and choose Edit. The MVS ZBNKPRT1 member is opened in the editor.
- Within this edit session, use the knowledge gained during the earlier tutorials to explore and edit this COBOL program.
How do I trace the PeopleCode of an application engine?
To trace the PeopleCode executed by an application engine program use the -TOOLSTRACEPC option. These are the various tracing options and what they do. Like all other PeopleSoft trace flags these are bit fields so if you want trace values 1 , 2 and 4 , you would set the trace to 1 + 2 + 4 = 7 ( -TRACE 7 ).
How do I add PeopleCode to a process?
This can be added either through the command line debugger or in the override parameters of the process definition. To trace the PeopleCode executed by an application engine program use the -TOOLSTRACEPC option.
How to run application engine in debug mode using PeopleTools?
Note that output from the -TRACE flag goes to the application engine trace ( .AET) file. Output from the -TOOLSTRACEPC output goes to the PeopleTools trace file ( .TRC ). To run application engine in debug mode, run the following from the command line of %PS_HOME%/bin/client/winx86.
How do I trace the application engine process?
Go into the process definition of the Application Engine. Change the numbers to reflect the level of tracing you desire. Run the App Engine through the normal processing pages. In the process monitor, you can retrieve the SQL and PeopleCode trace files with the logs.