Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
David FOXWELL <David.FOXWELL@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/24/2010 09:32 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Subject
Failed first attempt at Result DS with EXFMT
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 mailing list archive is Copyright 1997-2026 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.