Can more than one subfile record be displayed on one line?

Answers were Sorted based on User's Feedback



Can more than one subfile record be displayed on one line?..

Answer / anu

BY USING THE KEYWORD SFLLIN KEYWORD WE CAN DISPLAY MORE
THAN ONE RECORD.

Is This Answer Correct ?    26 Yes 2 No

Can more than one subfile record be displayed on one line?..

Answer / david lex

The question is 'can more than one SUBFILE line be
displayed on one line', the answer to which is yes and no.
The example, however, is more of 'can a subfile line be
more than one line'.

Using a over/under, or vertical subfile, one can have many
lines per actual subfile record. As the answer above state,
SFLLIN in conjunction with FOLD/DROP works great.

Using a side by side, or horizontal subfile, one can
actually display multiple SUBFILE lines, each with several
lines per actual record.

Quite different scenarios.

Also, for the record, you can use the alternate screen size
of 132 characters in width to gain more screen real estate.
There are, of course, limitations to this and those must be
addressed before just making the screen bigger.

Is This Answer Correct ?    3 Yes 0 No

Can more than one subfile record be displayed on one line?..

Answer / rizwan

Actually the Question is regarding Displaying more than 1
records of a Pf in a single line.To do so,Subfile Keyword
SFLLIN is used.

For Ex a PF has Fields named as Iden,Addr whose total
length is 30.In that case since display screen has a room
for displaying upto 80 chars, we can place the first &
second record of the Pf in the same line which in total is
going to occupy nearly 70 space including the blanks for
displaying the fields in the screen.

Is This Answer Correct ?    1 Yes 0 No

Can more than one subfile record be displayed on one line?..

Answer / nandini

For example, specifying the SFLLIN keyword causes a subfile
of four records to be displayed as:

REC1 REC3
REC2 REC4If SFLLIN is not specified, these records
appear as:

REC1
REC2
REC3
REC4

Is This Answer Correct ?    1 Yes 0 No

Can more than one subfile record be displayed on one line?..

Answer / raheem

BY USING THIS KEYWORD "SFLLIN" KEYWORD WE CAN DISPLAY MORE
THAN ONE COLUMN OF RECORDS ON A SINGLE LINE.
THIS IS RECORD LEVEL KEYWORD ON A SUBFILE CONTROL RECORD FORMAT & IT BE DISPLAYED AS HORIZONTAL SUBFILE.

Is This Answer Correct ?    0 Yes 0 No

Can more than one subfile record be displayed on one line?..

Answer / sushama

Yes, by using SFLLIN keyword.

Is This Answer Correct ?    0 Yes 0 No

Can more than one subfile record be displayed on one line?..

Answer / samul

Yes,we can display the record in more then one line using
SFLFOLD,SFLDROP and SFLMODE...see the usage in redbook

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More RPG400 Interview Questions

What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


suppose if we want to update the data in cl what we will do?

9 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,






How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


can we use cl programming to update or delete physical files

12 Answers  


How can read PF in reverse order (end to start) in CL pgm..

8 Answers   TCS,


steps for debugging two rpg programs????

4 Answers  


How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 Answers  


How can we know running job is batch or interactive?

0 Answers  


Categories