×
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.
Vern Hamberg wrote:
Did you really not put the semi-colon on?
Actually, I cut and pasted from the non-/free version that worked, and
just doctored it up a bit.
At any rate, this works, displaying the CON field for each record:
FCUSTLCON IF E K DISK
C *LOVAL SETLL CUSTLCON
C READ CUSTLCONR
C DOW NOT %EOF
C CON DSPLY
C READ CUSTLCONR
C ENDDO
C SETON LR
and so does this:
FCUSTLCON IF E K DISK
/FREE
SETLL *LOVAL CUSTLCON;
/END-FREE
C READ CUSTLCONR
/FREE
DOW NOT %EOF;
DSPLY CON;
/END-FREE
C READ CUSTLCONR
/FREE
ENDDO;
/END-FREE
C SETON LR
but this doesn't, merely displaying a bunch of blank lines:
FCUSTLCON IF E K DISK
/FREE
SETLL *LOVAL CUSTLCON;
READ CUSTLCONR;
DOW NOT %EOF;
DSPLY CON;
READ CUSTLCONR;
ENDDO;
/END-FREE
C SETON LR
The release on the RPG compiler shows V5R2M0
As an Amazon Associate we earn from qualifying purchases.
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.