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
Write the code to count the sum of n natural numbers.
Mention the guidelines to write a structured cobol program?
how to convert the recors form vsam file to db2 table tru file aid
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how do you reference the rrds file formats from cobol programs
Write a program to enter and display the names of students in a class using the occurs clause.
How you can read the file from bottom?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Name the sections present in data division.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How do you differentiate between cobol and cobol-ii?
Which Search verb is equivalent to PERFORM…VARYING?
Name some of the examples of COBOl 11?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?