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

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1147


How do define dynamic array in cobol.

1185


Define static linking and dynamic linking.

1272


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?

8031


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2167


What rules are to be followed while using the corresponding options?

1125


how do you reference the rrds file formats from cobol programs

1660


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

2016


What are the pertinent COBOL commands?

3238


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

2189


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

2305


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1267


Which is not true about evaluate statement

2515


Why occurs cannot be used in 01 level in COBOL?

1206


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1301