Please help me, I have created window subfile,I have
created Footer with same lengh and postion of window SFL.
When I call the pgm, first is shows only Footer and then
it shows subfile records.This time Footer is not
showsing ..plz hel me how can i do it...?
Sameple DDS and RPG:
A R WIN1
SFL
A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769-
PW1
A FLD001 1Y 0B 4 3EDTCDE
(Z)
A ATFILE R O 4 7REFFLD
(QWHFDBAS/ATFILE LIB/LIBF-
A
ILE)
A R WINCTL SFLCTL
(WIN1)
A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769-
PW1
A ALTNAME
('y')
A SFLSIZ
(0004)
A SFLPAG
(0004)
A WINDOW
(FOOTER)
A ROLLUP
(27)
A ROLLDOWN
(28)
A CF12
(12 'Cancel')
A 50
SFLDSP
A N51
SFLDSPCTL
A 51
SFLCLR
A 1 2'Select Option,Press
enter'
A 2 3'1=
Select'
A R
FOOTER
A*
A WINDOW(8 31 9
43)
A 8 4'F12 =
Cancel'
A R DUMMY
ASSUME
A 24
10' '
in RPG:
Dow *IN12 = *Off
Write Footer
Fxfmt WInCTL
Answer Posted / syam
Include OVERLAY Record Level Keyward in CLT record.
A R WINCTL SFLCTL
A OVERLAY
Always give SFLSIZ(5) and SFLPAG(4) means SFLSIZ Greater
than SFLPAG.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is data area and how it is used in rpg program ?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what are the key words you must use when using a subfile?
how do you use commitment control in rpg?
how can you display specific subfile page on the screen in unequal subfile?
How to select highest score of each subject or how to select highest income of every month?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
how do I declare a minor?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen