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


in cobol perform stmt whether it first checks the condition
or not

Answers were Sorted based on User's Feedback



in cobol perform stmt whether it first checks the condition or not..

Answer / pradeep reddy

in cobol perform statement first checks the
condition ,condition is false then checks the statement ,
condition is true control goes outside

Is This Answer Correct ?    6 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / srinivasa yadav

CONDITION IS TESTED FIRST, IF THE CONDITION IS FALSE THE
CONTROL WILL GO TO THE BODY OF LOOP.
IF THE CONDITION IS TRUE THE CONTROL WILL COME'S OUT FROM
THE BODY OF THE LOOP.

Is This Answer Correct ?    6 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / raghunathareddy

first cond checks

Is This Answer Correct ?    2 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / suvarna

first checks the condition

Is This Answer Correct ?    2 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / deepa

If TEST BEFORE option is used the condition is checked
first.
If TEST AFTER option is used the condition is checked later.
Default is TEST BEFORE

Is This Answer Correct ?    2 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / garry

@Deepa,

You are correct!

Is This Answer Correct ?    0 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / sruthi

it will check condition frist if the condtion is false
contrl goes to body of the loop, if the condtion is true
contrl will goes to end perform

Is This Answer Correct ?    0 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / raju

hi deepa..

can u give a brief description abt ur ans

& how to set TEST BEFORE option or TEST AFTER OPTION

Is This Answer Correct ?    0 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / manivannan m

In line perform is not checks the condition first.

Regards,

Manivannan M

Note: Ples correct it, if it is wrong

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


db2 variable decimal(15,2) what is the equalent size of cobol variable

2 Answers   Syntel,


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


What is cobol?

0 Answers  


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

0 Answers  


How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)

3 Answers   IBM,


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


wht is the diff b/w if and evaluate stmts ?

2 Answers   DELL,


input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 Answers  


Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

3 Answers   IBM, UST,


Categories