View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 Topics: 63 Location: USA
|
Posted: Sat Jun 11, 2005 1:11 am Post subject: Program Name versus Member Name |
|
|
1 I name the source member as PROG1 but inside the program I name it as PROG2. I assemble and linkedit PROG1 and in my loadlib a member PROG1 is created but when I browse it I find the text PROG2 and not PROG1. Where does this text 'PROG2' come from because in my code or the assembler listing PROG2 is just a label, it is not saved anywhere by the code?
2 I execute and abend this program (PROG1) and in the abend log I see PROG1 but PROG2 doesn't appear anywhere. Where does PROG1 come from when the load module doesn't have the text PROG1. And why didn't PROG2 appear in dump.
This is assembler code. I have not checked the same for cobol.
Thanks,
Diba. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Sat Jun 11, 2005 3:56 am Post subject: |
|
|
PROG1 is program name
PROG2 is CSECT name
When you browse the contents of the program you will see the CSECT name as this will be stored by LInkage editor / Binder
If you have a dump you have a dump from the program, it is not interested in individual csects within the program |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 Topics: 63 Location: USA
|
Posted: Sat Jun 11, 2005 5:29 am Post subject: |
|
|
Thanks a lot nevilh. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|