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


How many times the loop runs here
01 a pic 9(2) value 10.
perform para1 a times
stop run.
para1:
move 20 to a.

Answers were Sorted based on User's Feedback



How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / suresh

it performs 10 times only it donot change while looping

Is This Answer Correct ?    14 Yes 3 No

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / shiva

initally a=10
perfrm para1 a(10) times
move 20 to a...so now a=20

now again perform para1 a(20)times
and loop goes on
hence infinite loop

Is This Answer Correct ?    3 Yes 5 No

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1:..

Answer / guest

infinite loop

Is This Answer Correct ?    5 Yes 12 No

Post New Answer

More COBOL Interview Questions

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?

2 Answers   IBM,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


Explain about Redefines cluse?

3 Answers   iGate,


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


what is index and how to use two tables using index?

1 Answers  


What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


) How do you access the migrate the data from production region to development region

1 Answers   IBM,


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

0 Answers  


How can you add a particular field in copybook?

2 Answers   L&T,


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   CTS, DSRC,


how would find total records in files using seqientional

1 Answers   HSBC,


Categories