COBOL Interview Questions
Questions Answers Views Company eMail

when COMP-3 is preferrable?

Patni,

3 7017

whats the disadvantage of search all over search?

Patni, TCS,

4 7756

why do u need inspect verb?

Patni,

3 6491

How to open and see copy book ?

3 13691

How to read a 100 record from a file through cobol?

2 10999

What are the different ways to run a COBOL DB2 program using JCL?

2 8133

input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 5535

input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 9333

input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 4672

01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

TCS,

5 7932

what is the coding difference between COBOL and CICS.

Cap Gemini,

8 19512

In COBOL "BEFORE" advancing is there or not ?

3 5984

input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1754

how can you identify wheather the program is using search or search all in the cobol program?

iGate,

5 9111

how to code in cobol while using variable block file?

1 5546


Post New COBOL Questions

Un-Answered Questions { COBOL }

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

647


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5615


What are the access modes of START statement?

691


What is the default value(s) for an initialize and what keyword allows for an override of the default?

664


How many sections are there in data division in COBOL?

655






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 ......

10410


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 amode(31)

702


How to print 10 to 1 if the input have only 10 digit number?

781


What is static and dynamic call in cobol?

568


What is link edit in cobol?

701


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

789


) how do u code after getting data?

1558


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

382


What is difference between static and dynamic call in cobol?

745