This chapter discusses how to:
Modify queries.
Schedule queries.
Organize queries
This section discusses how to:
Open existing queries.
Rename queries.
Delete queries.
Update existing queries.
Automatically repair existing queries.
Use Query Manager to open and view queries.
To open an existing query from your browser:
Select Reporting Tools, Query, Query Manager.
The Query Manager search page appears.
Search for a query using the basic or advanced search functions. Both search types enable you to select from the following search by criteria: access group name, description, folder name, owner, query name, type, uses field name, and uses record name. The basic search enables you to search using the begins with condition. The advanced search enables you to perform a progressively narrower search by using one or more search by criteria and selecting from a choice of conditions for each search by criterion. The following provides instructions on using search by criteria:
To perform a basic search by name, enter the name of the query in the Search by field and click the Search button.
If you do not know the name of the query and want to search through a list of queries, leave the Search for field blank and click the Search button to display a list of up to 300 queries.
Perform a partial search by entering part of a query name or description in the Search by field. Use the drop-down list to search queries by either name or description. Then click the Search button to display a list of queries that match your search criteria.
The Search Results page appears and lists all the queries that match the search criteria. The following information appears: query name, query description, ownership (public or private)
If you know the name of the query that you want, enter it in the Search by field and click the Search button.
To perform an advanced search, click the Advanced Search link. On the advanced search page, select the appropriate search by criteria and conditions and enter a search string in each of the corresponding fields. Then click the Search button to display a list of queries that match your search criteria. The Search Results page appears, listing the query name, description, owner, and folder for all the queries that match the search criteria.
Click the Edit link on the row of the query that you want to modify.
See Also
Access the Admin page (PeopleTools, Utilities, Administration, Query Administration).
To rename a query:
On the Admin page, choose a predefined search or a manual search by clicking the respective Search button.
Select the Queries from the Query List.
Click Rename.
The Rename Queries page appears, listing the current query names and query owners.
Click OK to save your changes.
Note. Alternatively, you can use the Query Manager search page (Reporting Tools, Query, Query Manager) to rename a query. You must first select a query that you want to rename then select Rename Selected from the Action drop down list box.
You can delete any public query that you have access to as well as any private query that you have created.
To delete a query:
Access the Admin page (PeopleTools, Utilities, Administration, Query Administration)
On the Admin page, choose a predefined search or a manual search by clicking the respective Search button.
Click Delete.
The Query Delete Verification page appears.
Click Yes to confirm the deletion or No to avoid deletion.
Note. Alternatively, you can use the Query Manager search page (Reporting Tools, Query, Query Manager) to delete a query. You must first select a query that you want to delete then select Delete Selected from the Action drop down list box.
At times you might want to update a query to reflect new conditions or copy an existing query and modify it for other uses. You can open a query, examine it to see if it is suitable, and then use the Save As function to save it with a new name.
To update an existing query:
On the Query Manager Search Results page, find the query that you want to modify and click its Edit link.
The Fields page appears.
Navigate to the page that you would like to modify (except the Run page).
Enter the new information on the page.
Click either the Save button to update the existing query, or click the Save As link to save a different instance of the query under a new name.
A record definition used in a query may change. When this occurs, PeopleSoft Query automatically repairs the query when it is opened. A warning message informs the user about the problem and what actions were taken:
Note. If a record has been deleted, the query will no longer appear in the list of queries because you no longer have access to all of the records in that query. To open such a query, you will need to use Query API.
See Also
Query Manager interacts with PeopleSoft Process Scheduler to let users schedule queries.
This section discusses how to:
Submit process requests.
Select process requests.
Use Process Monitor.
View output in Report Manager.
Specify a user’s language.
A process request enables you to submit a job or process to run. The Process Request page lets you specify such variables as where to run the process and in what format to generate the output based on a run control ID.
To submit a process request:
Select Reporting Tools, Query, Schedule Query.
The Schedule Query Search page appears.
Search for and select an existing Run Control ID, or select the Add New Value tab to enter a new ID.
The Schedule Query page appears.
Select the query for which you want to schedule and update any prompt parameters.
Use the Update Parameters link to select or change the value required for each available prompt. When values have been selected, they appear in the Prompt Name and Value fields.
Note. If the query does not have any prompt, the Update Parameters link will not appear.
Note. If you have one or more Asian languages installed, select the desired language from the Asian Font drop-down list box. This drop-down list box appears only if you have one or more Asian languages installed.
Click the Save button to save changes and remain on the Schedule Query page.
Click the Run button to display the Process Scheduler Request page.
When scheduling queries from Query Manager or Query Viewer, the Run button is replaced with an OK button.
Click the Process Monitor link to view the status of your request; click the Report Manager link to view the output of your request.
See Submitting and Scheduling Process Requests.
The Process Scheduler Request page enables you to set the server, run date and time, how often the process runs (the recurrence of the process), output type, and format.
To select a process request:
Open the Process Scheduler Request page.
Complete the fields on this page.
Click OK to run the query.
The system displays the Schedule Query page. The process instance number appears below the Run button.
Click the Process Monitor link to view the status of your request.
The Process List page appears. The Run Status field reveals the status of your scheduled or running process.
Process Monitor consists of two pages: the Process List page and the Server List page.
The Process List page lets you monitor the process requests you have submitted.
You can select filtering options (for example, process type and run status) to view only selected process requests. And you can click the Details link to view details associated with particular process requests.
The Server List page lets you monitor the PeopleSoft Process Scheduler server agents within your system.
User ID |
View the processes submitted by a particular user ID. Usually, you view by your own user ID. |
Type |
View by a particular process type (for example, Application Engine). |
Last |
Specify an interval of time by which to limit the process requests that appear in the list. Enter a numerical value in the edit box preceding the drop-down list, and then select a unit type from the drop-down list. Values are: Days, Hours, or Minutes. |
Refresh |
Click to check the current status of a process. This button refreshes the list. |
Server |
Select to view processes run on a particular server. |
Name |
View processes by a process name. |
Instance |
Specify a range of instances by which to limit the process requests that appear in the list. To limit the view to a single request, enter the required instance ID in the first text field. |
Run Status |
Select if you want to view processes by a specific status, such as Success or Error. |
Displays the distribution status for each individual job and process. Valid states are: N/A, None, Generated (OS390), Not Posted, Posting, and Posted.. |
|
Save on Refresh |
Select the check box to save filter criteria changes when you select the Refresh button. |
Displays the process instance; that is, the order in which the process appears in the queue. This number is automatically generated. |
|
Sequence (Seq.) |
This field is blank; it is not used for query processes. |
User |
The ID of the user who submitted the process. |
Details |
Click to open the Process Detail page. |
Report Manager is like your own personal inbox of reports and process output. It provides a secure way to view report content, check the posting status of your output, and see content detail messages.
View all of your reports by opening your Report List in your browser.
Select Reporting Tools, Report Manager, or click the Report Manager link on the Schedule Query page.
See Also
Working With Processes and Reports
For scheduled queries, the system uses the language specified in the user’s profile, not the language that is selected during sign-on. The system also uses the international and regional settings that the user has specified using My Personalizations. If you have not specified personal settings, the system uses the default installation international settings.
Note. Most PeopleSoft components can default to international settings from the browser if the user has not set any user specific settings. However, this is not available for scheduled queries or any PeopleSoft Process Scheduler processes.
See Also
This section discusses how to:
Add queries to the My Favorite Queries list.
Copy a query to another user's list of queries.
Move a query to an organization folder
The Query Manager and Query Viewer search pages can include a list of queries called My Favorite Queries. If you use certain queries often, you can put the queries in this list for easy access.
Note. Although you can view a list of favorites, you can't create a list of favorites in the Query Viewer.
To add a query to the My Favorite Queries list:
On the Query Manager Search Results page, select the query that you want to add to the My Favorite Queries list.
Select Add to Favorites from the Action drop-down list box.
Click Go.
The query appears in the My Favorite Queries list group box .
Note. You can add multiple queries to the My Favorite Queries list at once just by selecting several queries before choosing Add to Favorites and clicking Go.
The Query Manager allows you to copy a query from your list of queries to another user's list of queries.
Note. You can only copy nonpublic queries to another user's list of queries.
If the target user does not have permission to access all of the records in a copied query, that query will not appear in
the target user's list of queries. Once permission has been granted, the query will then appear in the list.
To copy a query to another user's list of queries:
On the Query Manager Search Results page, select the query or queries that you want to copy.
Select Copy to User from the Action drop-down list box.
Click Go.
The Enter User ID page appears.
Enter the user ID of the user to whom you would like to copy the query.
Click OK.
Organizing queries in folders can help you more easily access the queries. To move a query to a folder:
On the Query Manager Search Results page, select the query or queries that you want to move to an organization folder.
Select Move to Folder from the Action drop-down list box.
Click Go.
The Move to Folder page appears.
Select one of the following:
Click OK.