Professional Documents
Culture Documents
Ans:a) SQR can be optimized by breaking big SQL statements into simple SQL
statements
b) Using Load Lookup command
c)Using array or Flat File instead of Database Tables
d) Examining cursor status by using –S flag while executing SQR.
4.SQR report output can 4.Crystal Report output 4.It provides output only for Excel
be on text file, word can be of any type Spreadsheets.
document etc
8.What are the different command line flags and why do we use them.
Ans. –A: causes reporting output to be appended to an existing file of the same name.
-C: cancel dialog box appears so that user can terminate the program
-DEBUG: Used in conjunction with#debug command to display additional
information when troubleshooting SQR programs.
-E:Specifies than an ereror file be created and allows you to specify the filename.
-F:Specifies a file ro directory where the *.lis file should be created, instead of in the
default location.
-O:Filename fo the log file
-RS: creates a runtime version of your SQR.Creates a file with the *.sqt extension.
-PRINTER: Causes Printer type to be specified.
-S:Displays the status of all cursors at the end of the run.This is used for troubleshooting
SQR programs.
9.Difference between Begin-Select &Begin-SQL?
Ans: BEGIN-SELECT has only one SQL statement. BEGIN-SQL can have any number
of DMLstatements &it can also have PL-SQL statements for oracle& each statement
should end with double semi colon(;;)
10.What control statements are used in SQR
Ans: While,if,evaluate
11.What type of joins can be used in SQR
Ans:Outer join,equi join,Self join etc.
12.How do you pass parameters from a customized page to sqr.
Ans:Through run control record and Stdapi.Sqc should be included.
13.How do you reference Global variable in a local procedure in SQR.
Ans: Global variable can be accesed with #_Variable Name from Local Procedure.
14.What are the differences between Sqr and Application Engine.
Ans: Sqr is used as a reporting tool and Application Engine has IMPORT and EXPORT
features to EXTRACT data but it is not similar to SQR.
AE has restart logic which is not there in SQR
AE is Effective Dated.
15.What is PSsqr.ini used for
Ans: The PSSQR.INI file is the initialization file for SQR for PeopleSoft. This file
contains settings and parameters that SQR uses during the compile and execution phases.