COBOL Interview Questions
Questions Answers Views Company eMail

When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these

Wipro,

6 11314

i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

CTS,

7 40882

what is the difference between Normal vaiable and comp variable.

DELL,

5 11966

How to read the last 100 records from a COBOL file. The file contains N number of records.

IBM,

11 36571

What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?

IBM,

4 14778

How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)

Bank Of America,

9 31463

How to display the index.(displacement from an array)

IBM,

4 15502

How to retain the Duplicates in the one records?

CS,

3 8357

How to retrive the 9th records out of ten records using the cobol program ?

UST,

3 8712

i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 10230

1) can we display the index?

ADP, IBM,

3 25723

Can we access the a[0] in the array ?

DCL, IBM,

6 9883

what is S04E error in jcl?

IBM, L&T,

11 66318

What is Static,Dynamic linking ?

2 5686

Can we use icetool in cobol program?

3 7688


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?

6775


What is amode(24)?

671


How many bytes S(8) comp field occupy and its maximum value?

1618


What is rmode(any) ?

674


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

667






example for sub strings ? and refernce modifications whit output pls

1826


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

2313


What is perform what is varying?

690


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.

3699


What is an in line perform? When would you use it? Anything else you wish to say about it.

632


Which is not true about evaluate statement

1555


Write a program that uses move corresponding.

658


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

1939


How do you get the data to code the BMS macro?

1466


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

1899