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 |
check existence of one record without using chain or read?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
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?
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
how to change the length of the field in a physicalfile?
what is the use of sflnxtchg?
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
What is the difference between iter and do?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?