× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It doesn't really make sense for the two to be used together based on how the key words work. SFLLIN(nn) specifies the number of spaces between columns. It doesn't specify the number of columns. the display file will put as many subfile records across as will fit on a single line. So, SFLLIN is only applicable when a subfile record uses up less than half the width of the screen. SFLFOLD and SFLDROP are only applicable if the subfile record uses up more than the width of the screen. These two are mutually exclusive.

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Gerald Magnuson <gmagqcy.midrange@xxxxxxxxx> wrote: -----
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-L@xxxxxxxxxxxx>
From: Gerald Magnuson <gmagqcy.midrange@xxxxxxxxx>
Date: 03/30/2017 11:28AM
Subject: multi column subfile (SFLLIN) with SFLFOLD/SFLDROP


so I have a multi column subfile...

now I want to add a 2nd line with SFLFOLD /SFLDROP...

It won't compile, saying CPD7816, SFLLIN not allowed when more than one
line in record.
I don't see that prohibition in the manuals???

has anybody encountered this, and found a workaround?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.