Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 1 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

I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


parameters cannot be passed in which one??

2 Answers   CTS,


What is the difference between copybooks and subprocedures in as400?

0 Answers  


check existence of one record without using chain or read?

0 Answers   IBM,






Maximum how many files declare in rpgle

3 Answers   TCS,


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


what are the key words you must use when using a subfile?

0 Answers   IBM,


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


why we do STRSRVJOB in batch debugging in as400

1 Answers  


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  






Categories