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
 

 

Why we can specify s9(4) comp in length field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sekarvnm
Currently Banned

New User


Joined: 06 Oct 2006
Posts: 4
Location: NAGERCOIL

PostPosted: Fri Oct 06, 2006 12:15 pm    Post subject: Why we can specify s9(4) comp in length field
Reply with quote

Why we can specify s9(4) comp in length field.if not specify what will happen
Back to top
View user's profile Send private message

sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Fri Oct 06, 2006 3:44 pm    Post subject: Re: S9(4) COMP-LENGTH
Reply with quote

Hi

If possible, go through the site for COMP related artcles, there are so many explanation about on this.

In General we use COMP data item for Reducing memory space while doing interbal computaion.

COMP is used to represent BINARY data item and in your case it occupies 2 bytes.

Now you come to know why we are Specifing COMP data item.

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 -> 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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm


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