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
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How do you reference the fixed block file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How do get the result of your program directly on your pc?
What is rmode(24)
What is a report item?
How many bytes S(8) comp field occupy and its maximum value?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is an in line perform? When would you use it? Anything else you wish to say about it.
Have you used comp and comp-3 in your project? And how?
What is the difference between Global and External Variables?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Describe the cobol database components?