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
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 |
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 |
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 |
What are the different types of condition in cobol and write their forms.
how can we fetch 3 records in cobol pgm any coding pls ?
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
what is the difference between start and startbr?
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
Can we use goto statement in inline_perform ?
How do you do in-line PERFORM?
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.
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..
What are literals?
where will we code call by content and call by reference dude pls reply soon ?
how many maximum no of variables can be declared in linkage section ?