×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Based on the comments from another thread, it appears the conversion
tool is not working properly.

Barbara Morris indicated the fixed-format result indicators are set to
'0' and then set to '1' when appropriate; WDSC generates two simple
and possibly conflicting conditions instead of one compound condition.

I believe the conversion tool is broken and should be fixed: it's
modifying, not converting, RPG source code and not providing any
notification.

-reeve


On Thu, 24 Mar 2005 08:56:53 -0600, DeLong, Eric
<EDeLong@xxxxxxxxxxxxxxx> wrote:
> Reeve, can you simple make the assignment look like:
> *IN35 = %ERROR or %EOF;
> 
> Eric DeLong
> Sally Beauty Company
> MIS-Project Manager (BSG)
> 940-297-2863 or ext. 1863
> 
> 
> -----Original Message-----
> From: wdsci-l-bounces@xxxxxxxxxxxx
> [mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Reeve
> Sent: Wednesday, March 23, 2005 12:50 PM
> To: Websphere Development Studio Client for iSeries
> Subject: [WDSCI-L] Error in WDSC conversion to /FREE?
> 
> When I'm doing a READC with 35 as the "low" indicator and "35" as the
> equal indicator, WDSC generates this code:
> 
> readc(E) {format_name};
> *IN35 = %ERROR;
> *IN35 = %EOF;
> 
> If there's an error, *IN35 is set on.  If it's not EOF, *IN35 is set
> off.  Shouldn't we get something a little more elegant, like this?:
> 
> if (%error or %eof);
> *in35 = *on;
> else;
> *in35 = *off;
> endif;
> 
> Thanks,
> Reeve
> --
> This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
> mailing list
> To post a message email: WDSCI-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
> or email: WDSCI-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/wdsci-l.
> 
> --
> This is the Websphere Development Studio Client for iSeries  (WDSCI-L) 
> mailing list
> To post a message email: WDSCI-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
> or email: WDSCI-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/wdsci-l.
>

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