Professional Documents
Culture Documents
load-lookup, lookup
using arrays
cross tabular reports
multiple reports
running on server
using sqt files
bnn
proper programming logic
sql tuning
SQC
Environment SQC
These are used to make the SQR program portable to any OS or database.
Eg: setenv.SQC
Header SQC
Footer SQC
ASK SQC
These consist of reusable ask input commands
Functional SQC
Eg : datetime.SQC, string.SQC
-e : error file
-o : log file
-c : cancel button
-f : output path
-rs : compile
-rt : execute
-s : sql tracing
!** on-break
BEGIN-PROGRAM
DO TAB
END-PROGRAM
BEGIN-PROCEDURE TAB
BEGIN-SELECT
LEVEL=2
EMPID( ,35)
NAME (,48)
FROM PS_EMPLOYEES
END-SELECT
END-PROCEDURE
BEGIN-PROCEDURE CNTRY_END
END-PROCEDURE
!** LETTERS AND DOCUMENTS
BEGIN-PROGRAM
DO BONUSLETTER
END-PROGRAM
BEGIN-PROCEDURE BONUSLETTER
BEGIN-SELECT
NAME
ADDR1
ADDR2
CITY
COUNTRY
DO LETTER
FROM PS_EMPLOYEES
END-SELECT
END-PROCEDURE
BEGIN-PROCEDURE
BEGIN-PROCEDURE MAIN
BEGIN-DOCUMENT MAIN
BEGIN-DOCUMENT (1,1)
&NAME
&ADDR1
&ADDR2
@CITY_STATE_COUNTRY
.B
.B
DEAR &NAME
.B
.B
REGARDS,
XYZ
END-DOCUMENT
END-DOCUMENT
POSITION () CITY_STATE_COUNTRY
PRINT &CITY()
PRINT’;’()
PRINT &STATE()
PRINT’;’()
PRINT &COUNTRY()
NEW-PAGE
END-PROCEDURE
PEOPLETOOL TABLES FOR RECORDS
PSRECDEFN-> RECORD DEFINITION TABLES
PAGES/PANEL
THIS IS COLLECTION OF RECORDS.
This is user interface, used to interact with data from database
They are of 3 types
i. Standard
ii. Subpage
iii. Secondary
i. Standard page:
- This is the default page type.
- This is the only page, we can maintain security.
- This can be inserted into a component
- These are normal pages in PeopleSoft, which are used to interact with data from
database.
ii. Sub-page:
- These cannot be inserted into component directly.
- We cannot maintain security
- Sub-record field can only be placed on this page type.
- Reusability and easy maintenance.
iii. Secondary page:
- These cannot be inserted into component directly.
- We cannot maintain security to this page type.
- This is used to place rarely used fields or non-important fields to design an
effective user interface.