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)

Answer Posted / rajagopal

For the above question the answer is 19.Because sign is
allocated automatically and in cobol user defined value
should not exceed 18.so it'll take 19bytes including sign
without giving any error.but if you give
s9(9).9(9),definitely it'll give error because it's user
defined length is 19 and with sign it'll take 20 bytes and
it'll definitely throw an error.Anyway if you give
parm.cobol=arith(extend) in compile JCL both the above cases
will work.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different data types in cobol?

1387


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1263


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1231


How do define dynamic array in cobol.

1185


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1210


Have you used comp and comp-3 in your project? And how?

2521


What rules are followed by the search verb.

1196


Are you comfortable in cobol or jcl?

1092


What kind of error is trapped by on size error option?

1290


how do you reference the ksds vsam file formats from cobol programs

1245


What is redefines clause in COBOL?

1351


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

1647


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1383


IF I mention stop run in CICS what happens?

2427


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1130