Running SQRs on the Client Workstation

To run an SQR on the client workstation:

  1. Select Start, Run, click Browse, and navigate to PS_HOME\bin\sqr\MSS\binw.

    Select Start, Run, click Browse, and navigate to PS_HOME\bin\sqr\ORA\binw.

    Select Start, Run, click Browse, and navigate to PS_HOME\bin\sqr\DB2\binw.

    Select sqrw.exe and click Open.

  2. Add any needed flags at the end of the command line.

    Refer to the table that follows. For those flags that require attributes, append the attributes to the flags with no intervening spaces (for example, –fC:\fsdmo\bin\sqr\pssqr.ini).

    Figure 10-1 Run dialog box launching sqrw.exe

    Run dialog box launching sqrw.exe

    Figure 10-2 Run dialog box launching sqrw.exe

    Run dialog box launching sqrw.exe

    Figure 10-3 Run dialog box launching sqrw.exe

    Run dialog box launching sqrw.exe

    The following table summarizes the SQR report arguments used by PeopleSoft software. (For a full listing of report arguments, press the Help button to view the SQR help topic for this dialog box.)

    Flag Description

    -I

    Specifies the directories that SQR will search for the #INCLUDE files. (A trailing slash is required.)

    -f

    Specifies the directory where the report output will be sent.

    If you use the –keep flag, you must specify the directory with a trailing slash.

    If you use the –printer flag, specify a full path name with a filename for the HTML file.

    -ZIF

    Sets the full path and name of the SQR initialization file. The -ZIF flag should point to your PS_HOME\sqr\pssqr.ini file.

    -keep

    Keeps the .SPF file after the program runs. This enables you to view the report with the SQR viewer.

    -printer:ht

    Generates the output file in HTML format. Specify the filename, with path location, with the –f flag.

  3. Click OK.

    The SQR for PeopleSoft V8.62 dialog box appears, displaying the attributes that you entered in the Run dialog box. The fields on this dialog box are described in the next step:

    Note:

    The report arguments in this example have been arranged for readability.

    Figure 10-4 SQR for PeopleSoft dialog box with DDDAUDIT.SQR

    SQR for PeopleSoft dialog box with DDDAUDIT.SQR

    Figure 10-5 SQR for PeopleSoft dialog box with SYSAUDIT.SQR

    SQR for PeopleSoft dialog box with SYSAUDIT.SQR
  4. Enter the following values:

    • Enter the report name.

      You must specify the full path.

    • Enter the database name in the DataSource field.

    • Enter the access ID in the Username field.

    • Enter the ACCESSID in the Username field.

    • Enter the access password in the Password field.

    • Enter the database name.

  5. Click OK to run the SQR report.

    Note:

    In the Properties dialog box for your SQR icon, make sure that the Start in path points to your Oracle connectivity on the Shortcut tab. If you take the default, you may see a misleading error message about TNS packet writer failure.