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




Thanks, it was an input/output error. I'd put the SFL in a window and the window wasn't declared properly.

So this code actually works. Rather heavy coding though

-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Bryce Martin


Hi everyone,

Just thought I'd use a locally described subfile for kicks.
It crashes on
the exfmt. I don't understand at all the relationship between the
different DS and the EXFMT. In the subfile control DS, there
is only the
record number field.

What am I doing wrong?





P MySp B

FMyDSPF CF E WORKSTN SFILE( MySFL_Format :
wSflCtl.ERecno

D wSflCtl DS LIKEREC ( MyCTL_Format: *ALL )
D wSfl DS LIKEREC ( MySFL_Format:
*OUTPUT )


/FREE

wSflCtl.Erecno = 0;

DOW SQLCOD = 0;

GetStuff ();
wSflCtl.Erecno += 1;

wSfl.Field1 = ...etc;
WRITE MySFL_Format wSfl;

wSFLDSP = *ON;

ENDDO;


IF wSFLDSP;

EXFMT MyCTL_Format wSflCtl;

ENDIF;


/END-FREE

P MySp E


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.