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?



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


5 5346

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

4 3849

Is It Possible to Update or change in VIEW Mode?


5 5400

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


1 2557

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


2 7714

How many types of sorts are there in cobol?

Cap Gemini,

3 6702

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 2274

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 7708

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

1 2839

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 2743

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

IBM, Wipro,

3 4634

Post New COBOL Questions

Un-Answered Questions { COBOL }

here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?


in real time what is the suitable exp where in-stream procedure is better then catalog procedure.


wht is structured cobol pgm and non structred cobol pgm ?


If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..


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.


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


Name some of the examples of COBOl 11?


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?


) what is the difference between AID and HANDLE 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.


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that


) How do u handle errors in BMS macro?


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.


how to know that the file has 300 records how to acess it?