COBOL Interview Questions
Questions Answers Views Company eMail

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?


1 628

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?


5 5963

Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $

4 4133

Is It Possible to Update or change in VIEW Mode?


5 5843

2)Where the Plan is located in CICS-DB2?


1 2815

If I want to increase the Limit in GDG. What should I do?


2 8318

How many types of sorts are there in cobol?

Cap Gemini,

4 7446

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?



If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 2685

what is the difference between COBOL2 AND COBOL390?



How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?



Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya


2 8406

Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?

1 3029

I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 3126

I have a File that has duplicate records. I need only those records that occur more than thrice.?

IBM, Wipro,

3 4948

Post New COBOL Questions

Un-Answered Questions { COBOL }

IF I mention stop run in CICS what happens?


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you


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


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.


Name some of the examples of COBOl 11?


what happens if parmparameter passes zero bytes to the program


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?


How to define a array dynamically.....


What are options have been removed in COBOL 11?


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


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.


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


How to use the same COBOL program in Batch and CICS on lines? explain with an example


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly