how many times PARA-A is performed :
PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1
UNTIL TIMES-COUNTER >0
PARA-A
MOVE P TO Q
MOVE H TO TIMES COUNTER
a.10
b.1
c.11
d.0

Answers were Sorted based on User's Feedback



how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTI..

Answer / guest

option d is correct.

Is This Answer Correct ?    9 Yes 0 No

how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTI..

Answer / ram g

O is the right answer...when condition is true in
umtil...loop will comeout...

Is This Answer Correct ?    6 Yes 0 No

how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTI..

Answer / suresh ramaiyan

At the first time the value of TIMES-COUNTER is 1, so the
PARA-A will not execute even a single time.

Is This Answer Correct ?    2 Yes 0 No

how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTI..

Answer / harish

hi,

according to me i think its b. 1 times

initially times-counter is 1 > 0

so its right

condition satisfies

pls correct me if i am wrong

HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More COBOL Interview Questions

What are the different types of condition in cobol and write their forms.

0 Answers  


how can we fetch 3 records in cobol pgm any coding pls ?

3 Answers   CGI,


Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?

2 Answers   TCS,


what is the difference between start and startbr?

2 Answers  


What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?

2 Answers   T systems,






Can we use goto statement in inline_perform ?

5 Answers   IBM,


How do you do in-line PERFORM?

4 Answers   Accenture,


In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 Answers  


i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

5 Answers   IBM,


What are literals?

0 Answers  


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


Categories