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

what if any ,is the syntex error in the following piece of code
01 B PIC A(7)
02 C PIC 9(4)
........
IF(B NUMERIC)
ADD 10 TO C
a.the condition in the if statement is wrong
b.noting is wrong
c.because C is initialised.ADD 10 TO C is wrong
d.both B and C shoud have same size.

Answer Posted / ts nithiyanandan

answer is a
IF B Numeric (correct syntax)
IF (B Numeric) (incorrect syntax)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9104


how do you reference the fixed unblock file formats from cobol programs

1236


In COBOL programming, what is PERFORM? What is VARYING?

1152


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6589


how can i see junk values in dclgen or in hostvariable of comp ?

2999


What is the difference between Global and External Variables?

1377


How are the next sentence and continue different from each other?

1297


HOw can I get the negative sign while deduct high value from low value

2255


What the difference is between continue and next sentence?

1168


what are decleratives in cobol?

2264


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

1241


Explain how to differentiate call by context by comparing it to other calls?

1186


How do define dynamic array in cobol.

1135


How can you get the ksds file records into your cobol program?

1100


How to remove 2 duplicate records and copy only one using job control language?

1219