AS/400 Array

0 pts.
Tags:
AS/400
AS/400 Arrays
Following of this content of An Array  ARY before excuting of CODE ARY

10,01,06,03,04,09,03,02,10,05

C                  MOVE 03           SRCH   20 C                  MOVE05             X          20 C SRCH       LOKUPARY,X                      30

What is the value of  X  after executing the code?

hi,can you share this question.please

 



Software/Hardware used:
software or hardware
ASKED: February 4, 2010  5:07 AM
UPDATED: February 4, 2010  2:29 PM

Answer Wiki

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

After execution of this code , X value will be 5 only .

because you have moved the value into variable X.

one more thing how it will be changed ?

because you are searching 03 value in array ARY,05 .

The value ov ARY,5 is 04 .

If LOKUP is successful then indicator 30 will become on.

Is this you are expecting ?

Discuss This Question: 2  Replies

 
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
  • Whatis23
    Definitely homework...
    5,665 pointsBadges:
    report
  • BigKat
    and an incorrect answer too
    7,585 pointsBadges:
    report

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