COBOL Interview Questions
Questions Answers Views Company eMail

Why we should use cursor ?

3 2945

I know my query will return more than one row but I don't want cursor what should I do?

1 2556

I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

Steria,

1103

Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.

1 2110

Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 2363

what is the use of keep and pass in disp

1 2094

Difference between array and sub-script ?

HCL,

1148

Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

RBS,

2 2707

which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1013

Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

1 1841

if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

846

I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 1469

i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

984

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

TryTechnicals Pvt Ltd,

665

What is report-item in COBOL?

Arigo Infotech,

702


Post New COBOL Questions

Un-Answered Questions { COBOL }

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

1915


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1918


Define cobol?

852


what is search and searchall?what is the diffrence between them?give an best example?

5521


How many sections are there in data division in COBOL?

668






What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

761


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

1620


what are decleratives in cobol?

1816


What rules are followed by the search verb.

627


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?

883


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?

5353


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

645


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

804


Name the sections present in data division.

691


What is the difference between Call and a Link?

689