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
Write a cobol program making use of the redefine clause.
Define static linking and dynamic linking.
Write some characteristics of cobol as means of business language.
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.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Which division and paragraphs are mandatory for a COBOL program?
Write a program to explain size error.
How do we get current date from system with century in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
) how do u code after getting data?
How to remove 2 duplicate records and copy only one using job control language?
Whats the difference between search & search ALL?
What is the LINKAGE SECTION used in COBOL?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need