Answer Posted / vinay gautam
working-storage section.
77 index1 pic 9 value 1.
01 week value 'montuewedthufrisatsun'.
03 days pic x(3) occurs 7 times indexed by idx.
procedure division.
perform varying index1 from 1 by 1 until index1 >= 8
display days(Index1)
compute index1 = index1 + 1
end-perform.
stop run.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is input procedure?
What is the syntax of redefine?
What is the actual use of fillers?
What is sort?
What are the types of perform?
What is redefine?
Explain how to detect record is locked in cobol/400? What is the solution for that?
Explain what all the conditiones required for using open opcode on a file?
Explain the output procedure?
What is sort? And its syntax?
Define redefine and its syntax?
What are fillers? What is the actual use of fillers? With mall/simple example?
What are fillers?
What is output procedure?
Explain the syntax of sort?