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 |
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
what is search and searchall?what is the diffrence between them?give an best example?
Can we use goto statement in inline_perform ?
what is linkcard in cobol?
How can we increase the size of an existing PDS to include more no. of modules.
What is the difference between performing a SECTION and a PARAGRAPH?
How do you come out of an EVALUATE statement?
Explain call by context by comparing it to other calls.
what is the difference between external and global variables?