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
A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769-
A FLD001 1Y 0B 4 3EDTCDE
A ATFILE R O 4 7REFFLD
A R WINCTL SFLCTL
A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769-
A 1 2'Select Option,Press
A 2 3'1=
A WINDOW(8 31 9
A 8 4'F12 =
A R DUMMY
Dow *IN12 = *Off
Answers were Sorted based on User's Feedback
Answer / syam
Include OVERLAY Record Level Keyward in CLT record.
A R WINCTL SFLCTL
Always give SFLSIZ(5) and SFLPAG(4) means SFLSIZ Greater
|Is This Answer Correct ?||3 Yes||0 No|
Answer / cagatay azkin
Once you make sure File size is greater (1 greater is
perfect), also make sure footer record format doesn't
overwrite the sfl. If it's the case and you don't have
spece, decrese size and page by one. Also make sure that
overlay is set "Y"
|Is This Answer Correct ?||1 Yes||0 No|
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
A rpg or clp command to find if the file field is defined as a character or numeric field.
Can more than one subfile record be displayed on one line?
what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
How to read alternative records in a pf by using rpg?
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
What is the OPEN and CLOSE accesspath?
What are different ways to pass data between programs and which one is the efficient way?
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?