Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DSECT ID in listing.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: DSECT ID in listing.
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    Post subject:
Reply with quote

Hi,

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

http://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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Mon Aug 24, 2009 3:32 pm    Post subject: Reply to: DSECT ID in listing.
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Mon Aug 24, 2009 5:06 pm    Post subject: Reply to: DSECT ID in listing.
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 http://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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Parsing and Listing a Subset of Recor... Charles Wolters IBM Tools 3 Fri Feb 05, 2016 10:39 pm
No new posts Rexx code that expands changeman comp... Gopalakrishnan V CLIST & REXX 0 Thu Jan 08, 2015 11:31 am
No new posts Using DSECT - for file reading Apurva Mehta PL/I & Assembler 2 Mon Nov 17, 2014 10:09 pm
No new posts Dataset attributes listing V S Amarendra Reddy DFSORT/ICETOOL 9 Thu Nov 14, 2013 3:54 am
No new posts How to find historical compressed lis... Joyce CA Products 0 Tue Sep 17, 2013 7:41 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us