indicator position

310 pts.
Tags:
HI/LO/EQ indicators
RPG
RPGILE
hi , i m working on rpgile, i want to know that what is the difference b/w different indicator position, like some times we put it on HI, LO, EQ. WAT IS DIFFERENCE
ASKED: July 26, 2008  4:19 AM
UPDATED: May 6, 2010  8:05 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Historically the indicators were used to check what was in the result field on your C-specification, so HI meant the result was higher than zero (positive), LO meant that the result was lower than zero (negative) and EQ meant the result was zero.

RPG has developed a lot over the years and the HI/LO/EQ indicators have been used for other operation codes and mean different things for different operation codes, for instance the indicators on a CHAIN operation are completely different to the indicators on a READ operation. There are many different uses for the indicators and I suggest you check in the RPG refernce books if you want more examples.

Regards,

Martin Gilbert.

===============================================================

It doesn’t matter what the difference is. They shouldn’t be used at all in RPG IV (ILE RPG), so the difference is irrelevant. They are available for compatibility with old (non-RPG IV) programs.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following