How to define a array dynamically.....

Answer Posted / mahesh

hi pandu
occurs clause is used to define the tables so in
01 we mention the group so it does not any pic clause
even sub groups are also not having a pic clause
only elementary items contain pic clause

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

792


What is comp-1 and comp-2?

754


what is difference between cobol and cobol/400

21550


What is amode(24)?

678


how do you reference the ksds vsam file formats from cobol programs

649






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

2654


) how do u code after getting data?

1578


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?

6796


For rewrite, why is it mandatory that file needs to be opened?

616


Can a Search can be done on a table with or without Index?

798


Explain what you understand by passing by value.

688


Which Search verb is equivalent to PERFORM…VARYING?

677


Have you used comp and comp-3 in your project? And how?

2003


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1223


Discuss about changing dataset name in proc.

757