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

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

3262


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1327


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2542


What is an in line perform? When would you use it? Anything else you wish to say about it.

1075


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

1238


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5744


What are the pertinent COBOL commands?

3175


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2132


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1324


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

2341


What are the cobol coding sheets?

1268


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

1096


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

1152


what is amode(24), amode(31), rmode(24) and rmode(any)?

1147


What is the problem of ordered sequential files access?

1161