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
 

 

What are the functions of syncronization clause & comp.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
asish2006
Currently Banned

New User


Joined: 02 Nov 2006
Posts: 4
Location: India

PostPosted: Thu Nov 23, 2006 5:12 pm    Post subject: What are the functions of syncronization clause & comp.
Reply with quote

Someone please tell me what are the functions of syncronization clause and
comp, comp-1,comp-2& comp-3 in cobol.
Back to top
View user's profile Send private message

sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Thu Nov 23, 2006 5:34 pm    Post subject:
Reply with quote

Hi

Can please make Search in this forum, there are so many info available for your questions.

I'm giving here short description about the things you mentioned.

COMPUTATIONAL DATA-ITEMS:
In general, making better use of memory at the time internal representation of calculation or computation we use COMP Variables since they occupy less space depends upon the comp type we use.

COMP: It's a binary storage format, usuall occupy n/2 bytes.

COMP-1: It's internal Single Precision Floating data-item, and it's 4 bytes long

COMP-2:It's internal Double Precision Floating data-item, and it's 8 bytes long


COMP-3:It's Packed decimal storage format, and this is most efficient form of storage, it occupies n/2 + 1 bytes

There are so many info about COMP data-item , make a search.

SYCH Clause:
This is used to align the COMP field in a more specific boundary area such that to make Internal arithmetic operation more efficient.

SYNC Clause is used with COMP,COMP-1,COMP-2 items.

Hope above info are correct and helful to you.

Thanks
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm
No new posts Regd Date Functions in Syncsort muralikrishnan_new SYNCSORT 2 Fri Jul 01, 2016 8:21 pm
No new posts Need help to populate date in COMP-3 ... chetanambi DFSORT/ICETOOL 3 Tue Jun 21, 2016 12:25 pm


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