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?

HCL,

527

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

HCL,

5 5226

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

4 3802

Is It Possible to Update or change in VIEW Mode?

CSC,

5 5281

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

IBM,

1 2487

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

IBM,

2 7509

How many types of sorts are there in cobol?

Cap Gemini,

3 6504

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?

IBM,

2859

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 2184

what is the difference between COBOL2 AND COBOL390?

L&T,

869

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?

HeadStrong,

677

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

CSC,

2 7511

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

1 2796

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 2617

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

IBM, Wipro,

3 4568


Post New COBOL Questions


Un-Answered Questions { COBOL }

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

4568


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

1082


what is search and searchall?what is the diffrence between them?give an best example?

2518


Name some of the examples of COBOl 11?

1259


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.

1957


example for sub strings ? and refernce modifications whit output pls

707


Can we change the password using ALTER? anyone tried and changed?

492


IF I mention stop run in CICS what happens?

662


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

483


wht is structured cobol pgm and non structred cobol pgm ?

734


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

3664


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

1307


how to access the file from prodution from changeman tool and to submit a file to production

3701


How to recover a deleted source physical file from library?

402


) How do u handle errors in BMS macro

410