delete. (For more information about using lists, see “Using lists in Query for iSeries” on page 9.) Then press the Enter key. The Confirm Delete of Queries display appears.

Confirm Delete of Queries

From library . . . . : MYLIB

Press Enter to confirm your choices for 4=Delete.

Press F12 to return to change your choices.

Query

ACCTRECJAN

INVENTJAN

MAILADDR

PAYROLLJAN

TESTQUERY1

TESTQUERY2

F9=Reset

F12=Cancel

F20=Cancel delete in error

This display shows the query name(s) you chose to delete. (The above display shows some sample information.) Carefully check the names.

If you are sure you want to delete the queries listed, press the Enter key. The queries are deleted. If you selected the queries to be deleted from a list of queries, the deleted query name(s) are no longer included when you return to the Work with Queries display.

If you decide you do not want to delete one of the queries shown, press F12 (Cancel) to return to the Work with Queries display without deleting any queries. The list of queries is still displayed and you can change any of your selections.

If Query finds an error while deleting the queries, the list of queries being deleted is shown and an error message appears on the bottom of the display. The query that has the error is highlighted and appears at the top of the list. Any queries that were before that query in the list have already been successfully deleted. You can do either of the following:

vPress F9 (Reset) without pressing the Enter key. The delete process is canceled for all remaining queries, including the query in error.

vPress F20 (Cancel delete in error) without pressing the Enter key. The query in error is not deleted, but the delete process continues for the remaining queries. If an error is found while deleting one of the remaining queries, another error message is shown and the list is shown again with that query listed first and highlighted.

Displaying a Query for iSeries query definition

When you display a query, Query does not allow you to make any changes. Each query is saved with a CCSID. You cannot display a query if your job CCSID is not compatible with the query CCSID. They are compatible if one CCSID is 65535, the job and query CCSIDs are the same, or one can be converted to the other.

Note: See “Displaying a Query for iSeries query” on page 249 for more information on CCSIDs and how they affect processing a query.

Chapter 16. Working with Query for iSeries query definitions 179

Page 191
Image 191
IBM SC41-5210-04 manual Displaying a Query for iSeries query definition