0% found this document useful (0 votes)
109 views5 pages

Can U Declare Multiple Heading Sections in One SQR Program?

The document discusses various concepts related to SQR (Structured Query Report) programming including multiple reports, compile time and runtime variables, dynamic query variables, SQC files, debugging commands, file manipulation, and performance tuning techniques. It also addresses concepts in PeopleCode such as field edits, data buffers, SQLExecute function, and AppEngine components. Finally, it briefly touches on outer joins in Oracle and key fields in the job table.

Uploaded by

Siji Surendran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views5 pages

Can U Declare Multiple Heading Sections in One SQR Program?

The document discusses various concepts related to SQR (Structured Query Report) programming including multiple reports, compile time and runtime variables, dynamic query variables, SQC files, debugging commands, file manipulation, and performance tuning techniques. It also addresses concepts in PeopleCode such as field edits, data buffers, SQLExecute function, and AppEngine components. Finally, it briefly touches on outer joins in Oracle and key fields in the job table.

Uploaded by

Siji Surendran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Sqr's 1. what is the purpose of multiple reports? In what situation u use this? Ans.

Multiple reports are mainly used to increase the performance of sqr program.This is used when we are generating different reports for the same source i.e; for same tables. 2. can u declare multiple heading sections in one sqr program? Ans.Yes,we can declare multiple headings in the Multiple Reports. 3. what is the compile time variables?How to refer? Ans.Ask variables are compile time variables. 4.What is run time variables? Ans.Input variables are run time variables. 4. what is dynamic query variable?How to refer? Ans. 5. What is sqc?what is the purpose of stdapi.sqc? Ans.SQCs are nothing but some functions in SQR.here, we have reusable code.by including those SQCs and calling those functions in our SQR program we can get the functionality of that fu8nction.This is mainly used to make our SQR program API aware.ie; we can see the status of that SQR program in process monitor. 6. What are the steps to run an sqr program from people soft environment? Ans.1.Make the program API aware. 2.Create run control table to pass variables in runtime,create a page,and component. 3.Schedule the program in process Scheduler 7. what are the debugging commands in sqr? Ans.Show & Display are debugging commands 8. what is the difference between them? Ans.Show is used to display more than one variable at a time. Display is used to display only one variable at a time 9. what is load lookup?in what situations you use this technique? Ans.Load lookup is like an array in C Language.This is mainly used to increase the performance of our program.Mainly used in Master Detail Reports where the number of rows are more in the table. 11.what are the steps in performance tuning? Ans.Using Loadlookup & Arrays, Using Command line flags such as bnn & -s, Using proper programming in our SQR program, Using Proper SQL in our SQR program, Using Multiple Reports, Using SQT files and Running on Batch Server. 12. What are the file manipulation commands in sqr? Ans.Open,Close,For-Reading,For-Writing,For-Appending,Read & Write. 13. Is there any limitations to opening an file?

Ans.We can Open at a time a liited number of files that is 256 14. What are before and after procedures?How the execution sequence? Ans.For group headings before and for group footings we use after . 15. I want to get previous value of on-break? what is the command? Ans. Save command 16.How to identify document variables? Ans.By seeing the Document Marker Symbol ie;@. 17.What is spf file?what are the flags exists to make a file to an spf? Ans.The Output File after the compilation is SPF file.we can create it using -Rs command line Flag and we can run it using -RT command Line Flag. 18. How to refer a global variable in local procedure? Ans.after special character (ex.#,&) we use underscore(_) after that variable name 19.How the output variable denotes in a local procedure? Ans. 20.what is -Bnn flag? Ans.This is used to specift the number of rows that are to be taken from Dbase to the Buffer because defaultly the system takes 10 rows at a time. 21.What is -Tnn flag? Ans. This is mainly used for testing purpose. We can restrict the system to generate only a specific number of pages instead of generating all pages for testing. This is used in Windows Environment. 22. What is -RS & -RT Flags? Ans.-RS is used to generate SPF file ie; stopping the program after the comilation. _RT is used to run the SPF file .This is also one kind of Performance increasing technique by saving the compilation time. 23. What are the sections in Sqr?which one is necessary? Ans. Setup, Heading , Footing, Program & Procedure Sections. Program section is the Mandatory section. 24.What is -debug command line flag? Ans.This is used for Debugging in SQR. 25. How to place an corporate logo in sqr? Ans.Using Declare Image command 26. How to get most current effdt row & most effseq row? Ans.

People code 1.what is the diff between Field edit& save edit? Ans.In save edit it checks for all the system edits & Field edits. 2.what is field change? what are the events fires when a field change? Ans. When a Tab is pressed or a field value is changed on the page then this occurs. Events that fire are Field Edit & Field Change. 3.what is the diff between save prechange& save postchange? Ans.Save Prechange is fired when the buffer is not cleared where as Save Post change fires when the Buffer is cleared and before the Commit is issued by the database. 4.when workflow event fires? Ans.After the Save Prechange fires then this Work Flow Event is fired. 5.what the data buffer classes? Ans.The classes which consists of methods which are used to access or work on Data buffer. 6. what is sqlexec function? Ans.This is a functio which is used to write SQL commands in People code. This directly connects to database and execute. Mainly used for BackGround SQL processing.RetrivesOnly one row of data. 7. what are the save action events? Ans.Save Edit,Save Prechange, Work Flow & Save Post change 8. How to refer a second level Field value? Ans.RECORD.level1recordname, &lvl_row, RECORD.level2recordname, &lvl2row, Record.fieldname I the Scroll Path 9.How to refer a low level row from higher level? Ans.By specifying the high level row first and then the low level record.ie;by Scroll path. Using object oriented Peoplecode And Creating Objects for the rowsets. 10. What is component buffer? Ans.It is a temporary memory area for the people code to access the data base columns and user defined variables in the people code. 11.can u write the error messages in field change event? Ans.no. 12. What is field default event? Ans.Which is used to assign default values and if o defaults exists for the field then it sets to the system defaults depending on the data type of the field.

13.What is field formala? Ans. This is an Event Type which is mainly used to do calculations and define functions in Derived work record which can be used as a function libraries. 14. what is message get function?what's the diff between message get& message gettext functions? Ans: This is used to gwt the messages from the Message Catalog. Appengine 1.what are the components of appengine? Ans: Section, Step, Action & State Record. 2.How many action available? Ans.Totally we have 8 Actions but two are mutually Exclusie so only we can use 7 actions in a step. 3.What is the execution sequence of actions? Ans. 4.What is state record? Ans: This is used to apss values between, Sections, Steps and Actions. 5. what are the meta-sqls used in state record? Ans: %BIND, %SELECT & %SELECTINIT. 6.what type of records used in state record? Ans: Derived/ Work Record & SQL Table. 7.what are the steps in creating state record? 8.What are the Do select,Do while & Do until? 9.what is set processing? Ans: Performing Data Processing as a Sets of Data and at the Database level is called SetProcessing. 10.what is restart facility?where do u set this? Ans: This is set at the Application Engine Advance Properties. Application designer 1.what are the record types? Ans. This is used to specify the type of Record while crating a record. There are totally 7 record types SQL Table, SQL View, Dynamic View, Derived/Work Record, Query View, Temporary Tables & Sub Record. 2.what is Dynamicview & Derived/work record?

Ans. This is mainly used to increase the performance in People Code programming. 3.What is effective dated concept?how it acts in different modes? Ans. This is used to maintain Different rows for the same key field value depending on he Date. 4.what is effective sequence? Ans. Which is used to maintain different row for the same ey value & same Effective Date. 5.What is alternate search key? Ans. This is some thing like secondary key. This is Found in search dialog box to seach based on this value even though this is not a key field. & search key. 6.where do u set default value property? Ans.In the record field properties in the use tab we have constant here we set the default value. Thios is used mainly for Speedy data entry and search procedure. We can set default value in people code also. Oracle 1.what is meant by outer join? Ans. Inaddtion to rows which satisfy the condition in two table we can get the rows that are available in second table that are not in first table. Functional 1.what are the key fields in job table? 2.what is meant by empl_rcd?

You might also like