We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
QUIZ 15 – Basic RPG – All Coding - Part 2
1. Create a DDS PF named CFBTRN titled 'Customers Branch Transaction File'
with fields. ( already done in Basic RPG Coding Part 1 )
a. TRNACT length 19, data type packed decimal, decimal places 0,
'Account Number' b. TRNBRC length 40, data type character, 'Branch Name' c. TRNTYP length 3, data type character, 'Transaction Type' d. TRNAMT length 15, data type packed decimal, decimal places 2, 'Transaction Amount' e. TRNDAT length 8, numeric, decimal places 0, ‘Transaction Date’ f. TRNTIM length 6, numeric, decimal places 0, ‘Transaction Time’
2. Create a Report Program RPGT00004 that lists all account number
transaction totals per Branch and Transaction Type in the report format layout as specified in Figure 01. Figure 01. Printer File PRTF0004.
a. Header Record name is HDRRCD
10 20 30 40 50 60 70 80 90 100 110 120 130 | | | | | | | | | | | | | 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 1 XXXXXXXXXX Customer Branch Total Transactions Report Date : 5/27/2013 2 XXXXXXXXXX Time : 04:06:15 3 Page : 9999 4 5 6 Account Number Branch Total Deposit Total Withdrawal Total Payment 7 =================== ======================================== ===================== ===================== =====================
10 20 30 40 50 60 70 80 90 100 110 120 130 | | | | | | | | | | | | | 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 1 ==================== ===================== ===================== 2 Grand Totals: 9,999,999,999,999.99 9,999,999,999,999.99 9,999,999,999,999.99 3 4 * * * E N D O F R E P O R T * * *
(Nanzan Library of Asian Religion and Culture) Mark R. Mullins - Christianity Made in Japan - A Study of Indigenous Movements - University of Hawaii Press (1998) PDF