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

If i have a variable
A pic 9(2) value 10
Compute A = a - 100

what will be the value of A and will there be any error
becoz of the Negative value

Answer Posted / kiran

90 ill come "-" sign wont come bcoze we didnt mention A as a
signed variable

ex

A pic s9(2)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3211


What are the different rules for performing sort operation?

1157


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1095


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1111


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

1525


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

1324


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.

5672


What is report-item in COBOL?

1098


What is a report item?

1097


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

1130


What is the difference between PIC 9.99 and PIC9v99?

1286


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

1312


What are literals?

1077


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1198


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1956