************************************************************************************************************************************* Display File Screenshot looks like this at high level:- Inquiry Screen Heading1( With some text..) Heading2( with some text..) Heading3 (With Some text..) Heading4 (With some text..) Heading5 (with some text..) Heading6 (With some text...) ----- ---- ---- ----- + Some records shown here as per SFLPAG Size (4) then t bottom '+' sign is shown so that when we do page down here more records are shown under Heading6 while remaing records under Heading1 to Heading5 on same page keep displaying as it is. ******Display file:-************************************************************************************************************************ A R REC1 SFL A A1 R O 19 2REFFLD(Fld1) A R CTL1 SFLCTL(REC1) A SFLSIZ(120) A SFLPAG(0004) A OVERLAY A SFLDSP A SFLDSPCTL A SFLCLR A SFLEND A CF12(12 'Cancel') A A RRN 4S 0H ***then some fields defined But main issue is appearing to get one line space between heading4 and and heading5 when this Display file is called using RPGLE program** A 6 2'Heading1' A A T1 R O 7 2REFFLD(Fld1) A 8 2'Heading2' A T2 R O 9 2REFFLD(Fld1) A 10 2REFFLD'Heading3' A T3 R O 11 2REFFLD(Fld1) A 12 2'Heading4' A T4 R O 13 2REFFLD(Fld1) A 14 2'Heading5' A T5 R O 15 2REFFLD(Fld1) A T6 R O 16 2REFFLD(Fld1) A 18 2'Heading6' ************************************************************************ Main subroutine in RPGLE Program which loads above portion of display file:- C fld2 IFEQ '1' C MOVEL Fld1 T1 C ELSE C fld2 IFEQ '2' C MOVEL Fld1 T2 C ELSE C fld2 IFEQ '3' C MOVEL Fld1 T3 C ELSE C fld2 IFEQ '4' C MOVEL Fld1 T4 C fld2 IFEQ '6' C T5 IFEQ *BLANKS C MOVEL Fld1 T5 C ELSE C MOVEL Fld1 T6 C ENDIF C ELSE C fld2 IFEQ '5' C MOVEL Fld1 A1 C ADD 1 CNT C ADD 1 RRN C WRITE REC1 C END C ENDIF C END C END C END C END C ELSE C MOVEL *BLANKS A1 C ADD 1 CNT C ADD 1 RRN C WRITE REC1 C END C END C END ************************************************************************************************************* Note:- 1) Fld1 and fld2 are fields of some files here. 2) Heading6 again is a subfile which shows 4 records as per Subfile Page defined in above DDS. Heading6 shows properly and Space after Heading1,Heading2,Heading3 and Heading5 is fine and looks good. Only issue is happening here is for space after Heading4 and when above relevent RPGLE program is called then we find no space after heading4 and before the Heading5. ***************************************************************************************************************