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 / m.raghu
01 ws-name.
02 ws-name1 occurs 2 times.
03 ws-name2 pic x(10).
we can refer to second occurence element is: ws-name1(2).
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
) how do u code after getting data?
What are the different open modes available in cobol?
what is the difference between COBOL2 AND COBOL390?
What is rmode(24)
Write a cobol program making use of the redefine clause.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Are you comfortable in cobol or jcl?
Write down the divisions of cobol program?
Write the code implementing the perform … varying.
What is the difference between next sentence and continue in cobol programing language?
What are various search techniques in cobol? Explain.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How you can read the file from bottom?