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

DSECT ID in listing.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
milind suman
Warnings : 1

New User


Joined: 19 Aug 2009
Posts: 55
Location: Pune

PostPosted: Mon Aug 24, 2009 11:06 am
Reply with quote

Hello,

Please could somebody help me in understanding this ?

I am reading the listing of a compiled ASM program . In the DSECT cross reference , There is a Coulmn of ID . For each DSECT name the ID is having negative value. It appears that this ID is useful for cross referencing within the listing .Does compiler always generates negative ID value for DSECT ? What is the significance of this ? Can I be assured that if this ID is negative it implies a DSECT?
Please guide .


Code:
BN407                                           Dsect Cross Reference
Dsect     Length      Id       Defn                                 
BJ2DSHEZ 000059EC  FFFFFFFB    7507                                 
BN4CHECK 0000108A  FFFFFFFE    1590                                 
BN4COMON 00001002  FFFFFFFF      63                                 
BN4OUTDE 00005BB0  FFFFFFFC    3966                                 



Thanks
Back to top
View user's profile Send private message
quest2008

New User


Joined: 12 Jun 2008
Posts: 22
Location: bangalore

PostPosted: Mon Aug 24, 2009 11:26 am
Reply with quote

Hi,

There is some expanation given in the following link about your question. Please check this.

publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.asma100/asmp101033.htm
Back to top
View user's profile Send private message
milind suman
Warnings : 1

New User


Joined: 19 Aug 2009
Posts: 55
Location: Pune

PostPosted: Mon Aug 24, 2009 11:50 am
Reply with quote

Hi Quest ,

Thanks for the link , was indeed useful . However it didnt tell about the significance of nagative value for DSECT . Looking at the general pattern it appears as if it always generates negative value for DSECT.
Just want to confirm .

Thanks
Back to top
View user's profile Send private message
quest2008

New User


Joined: 12 Jun 2008
Posts: 22
Location: bangalore

PostPosted: Mon Aug 24, 2009 3:26 pm
Reply with quote

I am not sure about this. Let someone comment on it.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Aug 24, 2009 3:32 pm
Reply with quote

unsigned number ...

the internal csects and dsects are numbered in ascending order
the external csects are numbered in descending order
Back to top
View user's profile Send private message
milind suman
Warnings : 1

New User


Joined: 19 Aug 2009
Posts: 55
Location: Pune

PostPosted: Mon Aug 24, 2009 4:54 pm
Reply with quote

Hi Enrico ,

Thankyou for showing right direction !
I still have certain doubts , The DSECT 's :

Code:
BN407                                           Dsect Cross Reference
Dsect     Length      Id       Defn                                 
BJ2DSHEZ 000059EC  FFFFFFFB    7507                                 
BN4CHECK 0000108A  FFFFFFFE    1590                                 
BN4COMON 00001002  FFFFFFFF      63                                 
BN4OUTDE 00005BB0  FFFFFFFC    3966                               


are internal dummy as Could'nt find them in ESD with XD.



If they being Internal , How the ID's are descending , They all are having highest values . Please put some more light on this .

Thanks much !
Code:

BN407                                         External Symbol Dictiona
Symbol   Type   Id     Address  Length   Owner Id Flags Alias-of     
BN407EX   SD 00000001 00000000 00000BBF             00               
DD1000    LD          00000140           00000001                     
FB6800    LD          0000072A           00000001                     
HA1000B4  LD          00000806           00000001                     
TRIMS098  LD          00000A2C           00000001                     
BN407VER  LD          00000058           00000001                     
MB0020B4  ER 00000002                                                 
YL0000    ER 00000003                                                 
AA0000    ER 00000004                                                 
BN470EX   ER 00000005                                                 
BN416EX   ER 00000006                                                 
BN410EX   ER 00000007                                                 
BN432EX   ER 00000008                                                 
                                                                     
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Aug 24, 2009 5:06 pm
Reply with quote

fat fingers ...

Quote:
the internal csects and dsects are numbered in ascending order
the external csects are numbered in descending order


change to ...
dsects numbered in descending order
csects numbered in ascending order ( IIRC )

but why You worry ??

the manuals in publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ASMSH020 will certainly satisfy all Your curiosities
Back to top
View user's profile Send private message
milind suman
Warnings : 1

New User


Joined: 19 Aug 2009
Posts: 55
Location: Pune

PostPosted: Mon Aug 24, 2009 5:23 pm
Reply with quote

Thankyou Enrico for the valuable information!
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 how to show listing in physical locat... PL/I & Assembler 2
No new posts Listing EVERY Dataset on a system All Other Mainframe Topics 4
No new posts listing sum if zero DFSORT/ICETOOL 4
No new posts Parsing and Listing a Subset of Recor... IBM Tools 3
No new posts Rexx code that expands changeman comp... CLIST & REXX 0
Search our Forums:

Back to Top