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

Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be

Answer Posted / rajiv gupta

Answeer would be 10. as 20 -10 should be -10 but X is not
declared as signed variable as S9(2)so answer is 10.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2276


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

1106


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

1285


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

1153


Give some examples of command terminators?

1262


What are the different rules of SORT operation?

1146


What is perform what is varying?

1177


Can we change the password using ALTER? anyone tried and changed?

2021


Write a cobol program making use of the redefine clause.

1185


What is the difference between external and global variables in COBOL?

1466


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

3263


Which division and paragraphs are mandatory for a COBOL program?

1278


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

1328


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7896


What are the different rules to perform a Search?

1098