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 14754

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

TCS,

5 13139

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 9876

what is level 66 means??

7 25536

Can the OCCURS clause be at the 01 level?

Oracle,

8 19263

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 9054

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

L&T,

3 8388

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 7437

How will you find the currepted records in a file

2 5656

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

8 13167

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

1 6368

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

6 8854

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

3 8943

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

2 7223

What is SDSF?

3 9955


Post New COBOL Questions

Un-Answered Questions { COBOL }

what are decleratives in cobol?

1803


What is report-item in COBOL?

679


) How do u handle errors in BMS macro?

1403


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2687


Why would you use find and get rather than to obtain?

653






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5323


What is the difference between goback, stop run and exit program in cobol?

877


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

869


What are the rules of the move verb?

673


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

1981


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

1603


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1623


What guidelines should be followed to write a structured cobol prgm?

638


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

1923


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

699