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


Please Help Members By Posting Answers For Below Questions

In COBOL, what is the different between index and subscript?

751


How do you define a variable of comp-1 and comp-2?

699


how to convert the recors form vsam file to db2 table tru file aid

2751


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5667


Name the sections present in data division.

696






) How do u handle errors in BMS macro?

1418


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...)

1915


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8148


How do u write test cases?

1631


What is the difference between PIC 9.99 and 9v99 in COBOL?

727


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1582


Write a program that uses move corresponding.

668


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


What is length is cobol?

641


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1761