Can more than one subfile record be displayed on one line?
Answers were Sorted based on User's Feedback
Answer / anu
BY USING THE KEYWORD SFLLIN KEYWORD WE CAN DISPLAY MORE
THAN ONE RECORD.
| Is This Answer Correct ? | 26 Yes | 2 No |
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 |
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 |
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 |
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 |
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 |
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
How to find d key field of a pf that doesn’t have source physical file?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
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...?
Can someone tell me tell me what is meant by message wait...?
What is Multi Occurrence Data Structure(MODS)?
How to read alternative records in a pf by using rpg?
difference between CHAIN and READE?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?