Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Memory ID's in a program

Former Member
0 Likes
548

Hello all,

I am debugging a program A which is being called by program X. Program A is importing some data from a memory id. I assume this data was exported to the memory id in program X. Now I need to know what all memory id's are available for program A as I want to see what all information is available to program A. Is there a way to find all the memory id's available to a program.

NOTE: I just know program name A. I do not know program X which is calling A.

Any ideas appreciated.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
520

You need to search in your program X for all the memory IDs.

Now, if your Program A has been called with return from program X than you can set the breakpoint in program A and debug to go back to program X.

Regards,

Naimesh Patel

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
521

You need to search in your program X for all the memory IDs.

Now, if your Program A has been called with return from program X than you can set the breakpoint in program A and debug to go back to program X.

Regards,

Naimesh Patel

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
520

If you want to know what memory IDs that program A has access to, you need to look at all of the IMPORT statements in program A. In reality, program A has access to all memory ids, but these memory areas must have been EXPORTed to at some point, and there must be a corresponding IMPORT statement in program A. So simply search for all IMPORT statements in program A,

Regards,

Rich Heilman