COBOL Interview Questions
Questions Answers Views Company eMail

Why we should use cursor ?

3 2941

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

1 2550

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,

1100

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 2105

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

1 2352

what is the use of keep and pass in disp

1 2090

Difference between array and sub-script ?

HCL,

1147

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 2695

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

1007

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 1835

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

843

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 1460

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

980

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

TryTechnicals Pvt Ltd,

664

What is report-item in COBOL?

Arigo Infotech,

696


Post New COBOL Questions

Un-Answered Questions { COBOL }

) how do u code after getting data?

1574


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

722


Describe the cobol database components?

664


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2313


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

1996






How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2708


Whats the difference between search & search ALL?

5226


What is the difference between Global and External Variables?

652


What is the Purpose of POINTER Phrase in STRING command in COBOL?

703


IF I mention stop run in CICS what happens?

1876


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

658


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

843


What rules are followed by the search verb.

623


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

1635


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