1 / 16

The SMS Query Menu System for the iSeries

The SMS Query Menu System for the iSeries. MIS written reports Departmental Reports User-written Reports. Initial Menu. What you see after signing on to the iSeries Choose option 20. SMSU Query Menu. Option 1 displays the entire list of MIS written reports (queries).

kalila
Download Presentation

The SMS Query Menu System for the iSeries

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The SMS Query Menu System for the iSeries MIS written reports Departmental Reports User-written Reports

  2. Initial Menu • What you see after signing on to the iSeries • Choose option 20

  3. SMSU Query Menu Option 1 displays the entire list of MIS written reports (queries). Option 2 are MIS written reports whose access are limited to specific areas. Option 3 allows users to work with their own reports (procedures). Option 4 allows users to work with departmental reports (procedures).

  4. Run SMS Provided Reports This screen presents a scrollable list of the reports written by MIS. Options available are 1 to select the report for execution and 5 to display the SQL query that produces the report. Tabbing to the “Position to” field and entering the first character(s) will position the list to reports that begin with those character(s) or the closest after. The list can be scrolled (indicated by More… in the lower right corner) by using the Page Up and Page Down keys on the keyboard.

  5. Prompting for Variables Entering a 1 and pressing Enter brings up the prompt screen. This is where the user can enter the selection values that are passed to the report. A list of possible values are displayed for most variables. If a list is displayed, then the value entered must be in the list. Pressing Enter causes the report to be submitted for execution.

  6. Prompting for Variables When the report is submitted, the user is returned to the list screen and a message is displayed at the bottom of the screen. Entering a 5 will display the SQL query that produces the report.

  7. Displaying the Report Query This is the SQL query that runs the report. The first 2 lines are control information used by QM and can be ignored.

  8. Run SMS Provided Area Reports This option is for areas whose queries should have limited access. Options 1-9 appear only if the user has authority to that particular area. Selecting option 1-9 will result in a list of reports for that area. Select and display are available as for the SMS provided reports.

  9. Work with Your Own Reports Menu driven. To perform the action of changing your password, choose option 1. Press enter From the main Query Menu, select option 3 if it appears. Option 3 appears only if the procedures file exists in the user’s library.

  10. Work with Your Own Reports On this screen the user can create a new procedure, edit an existing one, delete one they don’t want, display the procedure, or run the procedure. To create a new procedure, enter a 1 in the option field on the blank line, enter the procedure name under report, and optionally enter the description.

  11. Work with Your Own Reports - Create This is the edit screen where the user enters a new procedure. Enter the procedures commands in the blank line below the line marked “Beginning of data.” Remember the rules for entering procedure commands. Press F3 twice to save and exit.

  12. Work with Your Own Reports - Create The procedure is added as indicated by the message at the bottom of the screen.

  13. Work with Your Own Reports The other options are straight forward. Option 4 presents a confirmation screen to make sure the you want to delete the report. Option 9 – RUN has no prompting for variables. If variables are used in the report, you must add “SET GLOBAL” statements in the procedure to establish their values.

  14. Work with Departmental Reports Selecting option 4 from the main query menu, brings up this menu. A list of the departmental libraries, you’re authorized to use is displayed. Select the library you want and a list of the procedures in that library is displayed. The options available to you depends on whether you’re allowed to create and change procedures in the library or not. If not, then the only options available are display and run.

  15. SMSU Query Menu Option 5 takes you into standard Query Manager.

  16. The SMS Query Menu System for the iSeries MIS written reports Departmental Reports User-written Reports

More Related