IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Entry Point Address of loaded program.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pankaj Shrivastava
Currently Banned

New User


Joined: 24 Jul 2009
Posts: 51
Location: Pune

PostPosted: Fri Jul 24, 2009 10:06 pm
Reply with quote

For debugging and dump analysis we find the failing instruction address through the PSW. The difference in the entry point address of the Loaded program and the PSW address ( 24 bits) gives the displacement of the failing address.Can somebody help me ,How do find the entry point address of the loaded program?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 24, 2009 10:09 pm
Reply with quote

the dump will tell the load address,
the linkage editor/binder output will tell the entry point address
a bit of hex math will yield the result

but all that will be useless, because the psw value should be matched against the load address
Back to top
View user's profile Send private message
Pankaj Shrivastava
Currently Banned

New User


Joined: 24 Jul 2009
Posts: 51
Location: Pune

PostPosted: Fri Jul 24, 2009 10:13 pm
Reply with quote

Can you please explain it in bit more detail..may some screen shot icon_smile.gif
what is differenc b/w load address and entry point address .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 24, 2009 10:18 pm
Reply with quote

that' s very basic

an entry point is much more, but in the context of Your question ...
load address is the address at wich the thing will/has been loaded
entry point address is the address ( relocated ) of the first instruction that will be executed when the program will get control

more technically an entry point address is something that will/needs to be externalized to other csects/components of the whole shebang
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 24, 2009 10:23 pm
Reply with quote

all Your doubts ( in this post, and in the other ones ) will be easily resolved by looking/Reading the appropriate manuals
starting from

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ASMSH020?searchRequest=csect&SEARCH=Search&Type=FUZZY&SearchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK
Back to top
View user's profile Send private message
Pankaj Shrivastava
Currently Banned

New User


Joined: 24 Jul 2009
Posts: 51
Location: Pune

PostPosted: Fri Jul 24, 2009 10:29 pm
Reply with quote

I am not very proficient in dump analysis ... I could'nt get your last statement : but all that will be useless, because the psw value should be matched against the load address

Well I dont have abendaid in my project ..how should i calculate the NSI then ..if PSW value is also not helpful.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 24, 2009 10:37 pm
Reply with quote

abend AID is irrelevant to the understanding of the whole issue

looks like there is language barrier here,
reread the statement You were trying to quote, and You will see that I said nothing about the PSW,
I pointed out that You were using the wrong other address the entry instead of the load
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 24, 2009 10:46 pm
Reply with quote

follow on ... reworded in the hope of clarifying

Quote:
For debugging and dump analysis we find the failing instruction address through the PSW. The difference in the entry point address of the Loaded program and the PSW address ( 24 bits) gives the displacement of the failing address.Can somebody help me ,How do find the entry point address of the loaded program?


plain wrong

the displacement of the failing address in the whole load module will be the difference between the PSW address and the load address

to find anything useful You will need to find the name of the failing module/csect

from the linkage editor map and a bit of visual comparison of addresses You should easily find it
Back to top
View user's profile Send private message
Pankaj Shrivastava
Currently Banned

New User


Joined: 24 Jul 2009
Posts: 51
Location: Pune

PostPosted: Fri Jul 24, 2009 10:47 pm
Reply with quote

Ohh ..got you .Sorry misinterpreted that . icon_wink.gif

Ya ..Its clear..its load address which is considered instead of Entry point address icon_smile.gif

Thanks icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Point and Shoot )PTNS TSO/ISPF 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top