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
Answer Posted / 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 View All Answers
What is amode(31)
Why occurs cannot be used in 01 level in COBOL?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you reference the following file formats from cobol programs?
What is the utilization of copybook in cobol?
) How do u handle errors in BMS macro
What do you understand by psb and acb?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between Call and a Link?
What is the compute verb? How is it used?
What is inspect in cobol ?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Mention the guidelines to write a structured cobol program?