can we declare occurs in 01 level?

Answer Posted / sreenath

occurs clause cannot be used in '01' level because it is
used to repeat the elementary data item

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1944


What kind of error is trapped by on size error option?

740


how do you define single dimensional array and multidimensional array in your cobol?

678


Describe the cobol database components?

682


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1807






Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


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

825


Write a program to explain size error.

677


What is a SSRANGE and NOSSRANGE?

823


What is comp-1 and comp-2?

764


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.

1701


Which division and paragraphs are mandatory for a COBOL program?

709


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


What are all the divisions of a COBOL program?

665


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

2221