× 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.



Donald,

Given the posted code, this /free line is a lot more concise (and more elegant, IMHO):

*IN92 = Not S1SFLMODE

-mark

At 2/20/04 02:00 PM, you wrote:
Oh yes, these are great fun.  Fortunately I keep a template for this around.
Check out the following DDS (blank space compressed):
A            SFLMODE(&S1SFLMODE)
A N92        SFLDROP(CF06)
A  92        SFLFOLD(CF06)
A     S1SFLMODE      1A  H

Then you use the indicator and field in the RPG code just before the EXFMT
like so:
C*
C* Determine whether the subfile was folded.
C     S1SFLMODE     IFEQ      '0'
C                   MOVE      *ON           *IN92
C                   ELSE
C                   MOVE      *OFF          *IN92
C                   ENDIF

The DDS and programmer's manuals have detailed explanations of SFLMODE.

Hope that helps.

Donald R. Fisher, III
Project Manager
Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@xxxxxxxxxxxxx

<clip>
The problem that I can't seem to easily get past is that I can't get the
FOLD or the DROP to "stick".
<clip>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.