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

What is meant by ‘double word boundaries’ in COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Yugaswaroopini

New User


Joined: 21 Dec 2007
Posts: 10
Location: India

PostPosted: Wed May 14, 2008 9:18 am
Reply with quote

What is meant by ‘double word boundaries’ in COBOL ?



Ex: both 01 level and 77 levels are aligned on a double word boundary
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Wed May 14, 2008 10:45 am
Reply with quote

Hello,

"Double Word Boundary" is not specific to COBOL.

Double word boundary refers to an address that is evenly divisable by 8, so addresses that end with 0 or 8. Addresses that end with these are "double word boundary aligned". (And thanks to DBZ for spotting my initial brain fade. . .).

This is important because there are some machine instructions that require double-word boundary alignment.
Back to top
View user's profile Send private message
Yugaswaroopini

New User


Joined: 21 Dec 2007
Posts: 10
Location: India

PostPosted: Wed May 14, 2008 11:35 am
Reply with quote

Yeah .. This helps.. Thanks icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Wed May 14, 2008 7:15 pm
Reply with quote

You're welcome icon_smile.gif

d
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Search substring in internal table of... COBOL Programming 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts Cobol-DB2 Programming - Better perfor... DB2 1
Search our Forums:

Back to Top