COBOL Interview Questions
Questions Answers Views Company eMail

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?

Cognizant,

5 14910

what is meaning by design document? who can repared for this?

TCS,

5 13223

How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 9967

what is level 66 means??

7 25675

Can the OCCURS clause be at the 01 level?

Oracle,

8 19483

i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.

Wipro,

2 9190

how will u find out 3rd week's 2nd day using occurs ?

L&T,

3 8477

Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

TCS,

3 7523

How will you find the currepted records in a file

2 5719

perform I from 0 by 1 until I=5?How maney times it will executes

8 13316

What will happen if we try to create GDG (+2) generaton instead of (+1) generation?

1 6448

How many maximum number of procedures can we write in one COBOL program?

6 8965

Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 9064

What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 7312

What is SDSF?

3 10064


Post New COBOL Questions

Un-Answered Questions { COBOL }

How are the next sentence and continue different from each other?

766


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

634


how do you reference the printer file formats from cobol programs

667


In which area will you utilize 88 level items in cobol?

722


Name the sections present in data division.

701






what is amode(24), amode(31), rmode(24) and rmode(any)?

705


What is the problem of ordered sequential files access?

703


What is link edit in cobol?

773


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


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

2008


What are the rules of the move verb?

708


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


Name the divisions, which are available in a cobol program?

685


What is the difference between external and global variables in COBOL?

815


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825