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
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what are decleratives in cobol?
What is the difference between perform … with test after and perform … with test before?
Write the code implementing the perform … varying.
what is the difference between COBOL2 AND COBOL390?
How do get the result of your program directly on your pc?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
) How do u handle errors in BMS macro?
IF I mention stop run in CICS what happens?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the difference between goback, stop run and exit program in cobol?
how do you define single dimensional array and multidimensional array in your cobol?