what is the difference between occurs and occurs depending
on? i dont think so there is the difference in
storage..then why we should use occurs depending on?

Answer Posted / anna.

For hard-coded table we define cobol table with OCCURS,
becouse it is fixed numbers of occurances.

For input-loaded table (varb/l) with OCCURS DEPENDING ON
counter.Loading with perform vayring.
In this case we have exac numbers of entry and table can
easily access.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you comfortable in cobol or jcl?

794


Which mode is used to operate the sequential file?

908


How do you differentiate between cobol and cobol-ii?

837


what is the difference between COBOL2 AND COBOL390?

2702


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1026






What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

886


how to move the records from file to array table. give with code example

2412


What are literals?

832


how to access the file from prodution from changeman tool and to submit a file to production

7047


i need a small 3d program using inline and outline.

1872


What are different data types in cobol?

899


What is the difference between PIC 9.99 and 9v99 in COBOL?

958


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

848


) How do u handle errors in BMS macro

1690


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1868