?
Solved

Strange eval problem - Two variables updated with one EVAL statement - RPG IV

Posted on 2011-03-17
4
Medium Priority
?
634 Views
Last Modified: 2013-12-06
I have a called program which sets two variables with one eval statement.  The compile looks correct.  I have a screen cast which shows the program in debug (values before and after the execution of the statement).  Note the same problem occurs when I type 'Eval ....' on the command line in debug.  Both variables are set to the value.  Sound like a buffer or storage location error, but I don't know where or what to check.   I've attached a compiled listing of the programs and the screencast.  

Thanks you for your help!
Lynn  

lynn-harris-430883.flv
Program.txt
0
Comment
Question by:lynn_harris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 2000 total points
ID: 35162185
We probably need to see how those are defined. All we can see here is how this program references them.

What does the CALL look like that invokes this program? How are the variables defined back in the calling program? That's where the actual memory is defined. This program references them as being distinct entities, but they are PARMs after all. Reference here may be misleading.

Maybe.

Tom
0
 

Author Comment

by:lynn_harris
ID: 35162202
Hi Tom,

I will get all the information together and repost it when I get back to my computer.  It will probably be late tonight.  

Thank you .... more soon.

Lynn
0
 

Author Comment

by:lynn_harris
ID: 35163381

Hi Tom,

You were right.  I looked at the calls a number of times, but missed the error until I went back this time.  Sorry to have wasted your time.  (too many hours in front of the screen)  Thank you.  

Lynn  
0
 
LVL 27

Expert Comment

by:tliotta
ID: 35168721
No problem. It's never a waste of time if it brings an answer closer.

Tom
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question