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 14831

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

TCS,

5 13169

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 9896

what is level 66 means??

7 25594

Can the OCCURS clause be at the 01 level?

Oracle,

8 19354

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 9096

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

L&T,

3 8428

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 7466

How will you find the currepted records in a file

2 5686

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

8 13218

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

1 6402

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

6 8898

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

3 9004

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

2 7267

What is SDSF?

3 9984


Post New COBOL Questions

Un-Answered Questions { COBOL }

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1889


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3699


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1940


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

4028


What is the compute verb? How is it used?

644






How many bytes S(8) comp field occupy and its maximum value?

1618


Explain how you can characterize tables in cobol?

628


What is the local-storage section?

666


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

801


What are 77 levels used for?

644


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

616


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

720


Give some examples of command terminators?

741


What is link edit in cobol?

718


how to refer the data field?

1789