If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?
Answer Posted / snehatechm
occurs clause of an array cant be coded in 01 level.
it should always be coded in work area 2
01 xxx-yyy.
03 XX-YYY-ARRAY OCCURS 10 TIMES.
05 XX-YYY-MEM1 COMP-3 PIC S9(9).
05 XX-YYY-MEM2 COMP-3 PIC S9(9)V9.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Can we change the password using ALTER? anyone tried and changed?
Explain how to differentiate call by context by comparing it to other calls?
In COBOL, what is the different between index and subscript?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How do get the result of your program directly on your pc?
Which Search verb is equivalent to PERFORM…VARYING?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Write a program to enter and display the names of students in a class using the occurs clause.
What is amode(24)?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Discuss about changing dataset name in proc.
What is comp-1 and comp-2?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?