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 is the difference between comp and comp-3 usage?

1197


Which division and paragraphs are mandatory for a COBOL program?

1274


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

1367


A table has two indexes defined. Which one will be used by the SEARCH?

1281


) How do u handle errors in BMS macro?

1960


How do we get current date from system with century in COBOL?

1375


How arrays can be defined in COBOL?

1213


what is the use of outrecord?

2212


what happens if parmparameter passes zero bytes to the program

2128


How do get the result of your program directly on your pc?

2335


How you can characterize tables in cobol?

1195


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1240


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2294


Which Search verb is equivalent to PERFORM…VARYING?

1039


Explain how you can characterize tables in cobol?

1057