Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Suppose i want to declare a binary comp fild of 7 byte .how
to write?

Answer Posted / suv

If your question is like this:::
Suppose i want to declare a binary COMP field of storage 7
bytes .how
to write?


Answer is:
PIC S9(14) COMP.

storage byte required by COMP field will = half of the
digit specified in the PIC clause.
Just an info....
storage byte required by COMP3 field will = ( half of the
digit specified in the PIC clause)+1

Please correct me if I am wrong.

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some of the examples of COBOl 11?

3138


What is the difference between goback, stop run and exit program in cobol?

1583


Why did you choose to work with ibm mainframe cobol programming?

1095


Which mode is used to operate the sequential file?

1199


What is the difference between perform … with test after and perform … with test before?

1437


Whats the difference between search & search ALL?

6519


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1348


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1642


How do you reference the following file formats from cobol programs?

1156


How do you define a variable of comp-1 and comp-2?

1199


what are decleratives in cobol?

2254


Describe the cobol database components?

1169


How arrays can be defined in COBOL?

1213


Name the divisions, which are available in a cobol program?

1233


Can we redefine the field of x(200) to less than 200?

1367