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
What is the difference between PIC 9.99 and PIC9v99?
example for sub strings ? and refernce modifications whit output pls
What are the cobol coding sheets?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What are literals?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the fixed unblock file formats from cobol programs
how can i see junk values in dclgen or in hostvariable of comp ?
HOw can I get the negative sign while deduct high value from low value
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What type of SDLC u followed? Why?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Define static linking and dynamic linking.