I'm using ds based on pointer in some of our programs.
The matter is that in debug when I try to view a single field of the
ds (or the complete ds too) with the debug command "eval" I see only
asterisks, even if every field is valued.
Can you help me in some way?
I know, I can copy the ds based on pointer in another that's equal and
watch this, but I have to modify every program...
Thanks a lot!
Fabrizio
Try this one:
eval pPointer->dsName
It works on our V5R4 box. You can even extend it like this:
eval pPointer1->dsName1.pPointer2->dsName2
Regards,
Thomas.
bon...@gmail.com schrieb:
Woooow!!!
It perfectly runs!
Many thanks Thomas, great shot... :)
How did you find it?
There is no info in any official help, neither in on-line AS400 help.
I do not remember where I first got this information from. Most likely I found it in our beloved
newsgroup. For example, it is described in thread "When the based variable's basing pointer is pointer
based".
Or search for "eval pointer" with author set to "Barbara Morris". It is the fourth entry in the result
list.
Thomas.
bon...@gmail.com schrieb:
In that post, I see that I promised to get something into the
Programmer's Guide. And, ta daaaaa ... here it is:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books_web/c0925076227.htm