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



Sorry I swear I saw RPGIII in Birgittas post.

Stu


On Tue, Feb 22, 2011 at 15:29, Stuart Rowe <rowestu@xxxxxxxxx> wrote:

I think Birgitta means that the original RPGIII had the CLEAR opcode and it
was retained in the converted source, but acts differently. She indicates a
difference in treatment of the free-form CLEAR and the fixed format CLEAR,
or a difference between the RPGIII and ILE compilers, not sure which it'd
be.

Birgitta, try a fixed format CLEAR in the middle of your free specs just
for the heck of it and see if that results in a "definition" of the
indicator. If that works it seems to be a difference between fixed and free
behaviour.

Stu




On Tue, Feb 22, 2011 at 12:36, Luis Rodriguez <luisro58@xxxxxxxxx> wrote:

Birgitta,

That's interesting. I'm running WDSc 7.0 and EVAL *INxx = *OFF gets
translated to *INxx = *OFF (loses the eval). MOVE does not get translated.
Which version of WDSc are you running?

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Tue, Feb 22, 2011 at 11:13 AM, Birgitta Hauser <Hauser@xxxxxxxxxxxxxxx
wrote:

Hi guys,

Bug or feature?

Someone already encountered this:

An old RPG (written in fixed format RPG) with display file was converted
into Free-Format (with WDSC/RSE/RDi).
Instead of specifying MOVE *OFF *INxx (or EVAL *INxx = *OFF) the Opcode
CLEAR was used.
Before changing to free format, the program was compiled and could be
run
without problems.

But after conversion to free format, we got compile errors, because only
indicators that are set (with EVAL or MOVE) can be cleared.
Indicators that are only cleared but never moved *ON or *OFF cause an
RNF7030 Error.

Shall we open an PMR?
(Our test machine is Release V5R4!)

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars."
(Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training
them
and keeping them!"


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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-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.