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...


can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)

Answers were Sorted based on User's Feedback



can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

Answer / ramlal

before decimal point value stored in 9byted decimal point
does not occupy any space after decimal point total value
occupies only 1byte totally 9+0+1=10bytes.

Is This Answer Correct ?    4 Yes 6 No

can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

Answer / vikash

we can declare.It will take total bytes based on formula=(n/2+1).

Thus, 9+9=18

Here n=18,

Thus number of bytes=18/2+1=10 bytes

Is This Answer Correct ?    1 Yes 3 No

can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

Answer / madhu

20

Is This Answer Correct ?    5 Yes 29 No

Post New Answer

More COBOL Interview Questions

What is the Importance of GLOBAL clause According to new standards of COBOL?

2 Answers   Infosys,


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?

1 Answers   CGI,


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

0 Answers   HSBC, Quest,


What are the different types of condition in cobol and write their forms.

0 Answers  


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


if one main program ,n -subprograms are then which call you follow ?why reasonuhg

4 Answers   UHG,


Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,


How to recover a deleted source physical file from library?

1 Answers   HCL,


how to convert the recors form vsam file to db2 table tru file aid

0 Answers   TCS,


What are the different data types available in COBOL?

4 Answers  


which generation language is cobol

4 Answers   Kanbay,


Categories