COBOL Interview Questions
Questions Answers Views Company eMail

why we are using set in searchall?

IBM,

4 6656

i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

IBM,

5 8068

why we are using picture clause in the cobol programs?

2 6067

i need a small 3d program using inline and outline.

1614

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

1 3995

How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.

2 8429

suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

IBM,

2 7613

How do u know what version of cobol u are using?

3 14373

How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

Accenture,

6 20380

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

Accenture,

4 10407

Why we need to use redefine clause when we can define the variable seperately... what is actual need....

Accenture,

5 12671

copy 100 records without using ibm utilities

3 7571

record length in spool?

Infosys,

2 5719

what is the use of outrecord?

1748

what is a zoned decimal data type and how it will be stored?

IBM,

2 7198


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 ?

1839


What are the different rules for performing sort operation?

734


Which division and paragraphs are mandatory for a COBOL program?

689


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1972


What is a report item?

709






Explain about different table spaces.

619


Why did you choose to work with ibm mainframe cobol programming?

605


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10407


Write down the divisions of cobol program?

638


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

687


What is the difference between binary search and sequential search?

608


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1896


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.

3688


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

633


how to convert the recors form vsam file to db2 table tru file aid

2726