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
Solved

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

Posted on 2011-03-17
4
630 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
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Clone/image SSD to another WITHOUT connecting the two during cloning? 18 95
windows 10 free update 45 134
Time Machine reports 'Disc Full' 3 80
Inventory equipment in the office 7 125
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

856 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