Why occurs can not be used in 01 level ?

Answers were Sorted based on User's Feedback



Why occurs can not be used in 01 level ?..

Answer / anil prajapati

occurs can not be define at 01 level because records never
repeated only fields are repeated

Is This Answer Correct ?    15 Yes 1 No

Why occurs can not be used in 01 level ?..

Answer / nitin

if we put occut at 01 level record will be repeated not
fields.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More COBOL Interview Questions

How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 Answers  


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


What is link edit in cobol?

0 Answers  






Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above

3 Answers   TCS,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


What does EXIT do ?

3 Answers   Deloitte,


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,


Categories