KyaPoocha.com

Huge Collection of Interview Questions


‘Cobol Interview Questions’ - KyaPoocha.com

Describe the difference between subscripting and indexing ? 

Indexing uses binary displacement. Subscripts use the value of the occurrence.  Read more »

What is the LINKAGE SECTION used for ? 

The linkage section is used to pass data from one program to another program or to pass data from a PROC to a program.  Read more »

What is the Purpose of POINTER Phrase in STRING command? 

The Purpose of POINTER phrase is to specify the leftmost position within receiving field where the first transferred character will be stored  Read more »

What is the Importance of GLOBAL clause According to new standards of COBOL? 

When any data name, file-name, Record-name, condition name or Index defined in an Including Program can be referenced by a directly or indirectly in an included... Read more »

Difference between next and continue clause? 

The difference between the next and continue verb is that in the continue verb it is used for a situation where there in no EOF condition that is the records are... Read more »

What is difference between COBOL and VS COBOL II ? 

In using COBOL on PC we have only flat files and the programs can access only limited storage, whereas in VS COBOL II on M/F the programs can access up to 16MB or... Read more »

what is the difference between external and global variables ? 

Global variables are accessible only to the batch program whereas external variables can be referenced from any batch program residing in the same system library.  Read more »

What happens when we move a comp-3 field to an edited (say z (9). ZZ-) ? 

the editing characters r to be used with data items with usage clause as display which is the default. When u tries displaying a data item with usage as computational... Read more »

What divisions, sections and paragraphs are mandatory for a COBOL program ? 

IDENTIFICATION DIVISION and PROGRAM-ID paragraph are mandatory for a compilation error free COBOL program.  Read more »

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming ? 

Structured programming is a Logical way of programming, you divide the functionalities into modules and code logically. OOP is a Natural way of programming; you... Read more »

What is the different between index and subscript ? 

Subscript refers to the array of occurrence , where as Index represents an occurrence of a table element. An index can only modified using perform, search &... Read more »

What is Redefines clause ? 

Redefines clause is used to allow the same storage allocation to be referenced by different data names .  Read more »

How many sections are there in data division ? 

SIX SECTIONS 1.FILE SECTION 2.WORKING-STORAGE SECTION 3. LOCAL-STORAGE SECTION 4.SCREEN SECTION 5.REPORT SECTION 6. LINKAGE SECTION  Read more »

Differentiate COBOL and COBOL-II. (Most of our programs are written in COBOLII, so, it is good to know, how, this is different from COBOL) ? 

The following features are available with VS COBOL II: 1. MVS/XA and MVS/ESA support The compiler and the object programs it produces can be run in either 24- or... Read more »

Why do we code S9(4) comp. Inspite of knowing comp-3 will occupy less space. ? 

Here s9(4)comp is small integer ,so two words equal to 1 byte so totally it will occupy 2 bytes(4 words).here in s9(4) comp-3 as one word is equal to 1/2 byte.4... Read more »

Page 1 of 1212345»...Last »