Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is meant by ‘double word boundaries’ in COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: What is meant by ‘double word boundaries’ in COBOL
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

Site Director


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

PostPosted: Wed May 14, 2008 10:45 am    Post subject:
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    Post subject: Reply to: Double word boundary
Reply with quote

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

Site Director


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

PostPosted: Wed May 14, 2008 7:15 pm    Post subject: Reply to: Double word boundary
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COBOL - Array result in single variab... vinu78 COBOL Programming 1 Thu Feb 20, 2020 5:29 pm
No new posts Dynamic cursor name in Cobol program Jlevine COBOL Programming 1 Fri Feb 14, 2020 2:55 am
No new posts Indent cobol code Renato Zangerolami COBOL Programming 6 Thu Feb 13, 2020 12:53 am
No new posts Eliminating blank space in XML parsed... elixir1986 COBOL Programming 0 Tue Feb 11, 2020 4:41 am
No new posts I need help with analysis of a COBOL ... John Poulakos All Other Mainframe Topics 14 Fri Jan 24, 2020 9:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us