01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2
times. My qustion is how can we access the second name
Answer Posted / sriharichallagundla
occurs can never be used in the 01 level. and when the
clause is used in 02 level, the variable has to be in the
level below that.
01 ws-name1.
02 ws-name2 occurs 2 times.
03 ws-name. pic x(10).
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
how to convert the recors form vsam file to db2 table tru file aid
What is the compute verb? How is it used?
Write some characteristics of cobol as means of business language.
what are decleratives in cobol?
What is Pic 9v99 Indicates in COBOL?
What is the problem of ordered sequential files access?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
In COBOL programming, what is PERFORM? What is VARYING?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you differentiate between cobol and cobol-ii?
What is report-item in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?