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 various search techniques in cobol? Explain.

1026


What is static and dynamic call in cobol?

1002


Write the code to count the sum of n natural numbers.

1143


What is comp-1 and comp-2?

1185


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

3209


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2392


What are the different data types in cobol?

1329


How do you get the data to code the BMS macro?

1920


) how do u code after getting data?

2074


What is the difference between structured cobol programming and object alternativelyiented cobol?

1185


Which mode is used to operate the sequential file?

1150


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

2294


What are the pertinent COBOL

2509


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2014


) what is the difference between AID and HANDLE AID?

2099