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 the difference between RPG/400 and RPG4

1 Answers   HCL,


How to sort an array in descending in RPG

3 Answers   Google, TCS,


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

0 Answers   IBM,


How would display prime numbers using CL program?

0 Answers   Hexaware,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

0 Answers   IBM,


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


how do u find whether a record is locked or not??/

5 Answers   CTS,


Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output

3 Answers  


Categories