KyaPoocha.com

Huge Collection of Interview Questions


‘Cobol Interview Questions’ - KyaPoocha.com

How do you code Cobol to access a parameter that has been defined in JCL ? And do you code the PARM parameter on the EXEC line in JCL ? 

using JCL with sysin. //sysin dd *here u code the parameters(value) to pass in to cobol program /* and in program you use accept variable name(one accept will read... Read more »

What do you feel makes a good program ? 

A program that follows a top down approach. It is also one that other programmers or users can follow logically and is easy to read and understand.  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 »

How do you code Cobol to access a parameter that has been defined in JCL ? And do you code the PARM parameter on the EXEC line in JCL ? 

1) using JCL with sysin. //sysin dd *here u code the parameters(value) to pass in to cobol program /* and in program you use accept variable name(one accept will... Read more »

What do you feel makes a good program ? 

A program that follows a top down approach. It is also one that other programmers or users can follow logically and is easy to read and understand.  Read more »

What is the difference between static call & Dynamic call? 

In the case of Static call, the called program is a stand-alone program, it is an executable program. During run time we can call it in our called program. As about... Read more »

Give some advantages of REDEFINES clause. ? 

1. You can REDEFINE a Variable from one PICTURE class to another PICTURE class by using the same memory location. 2. By REDEFINES we can INITIALISE the variable... Read more »

How to execute a set of JCL statements from a COBOL program? 

Using EXEC CICS SPOOL WRITE(var-name) END-EXEC command. var-name is a COBOL host structure containing JCL statements.  Read more »

How do you submit JCL via a Cobol program ? 

Use a file //dd1 DD sysout=(*, intrdr)write your JCL to this file. Pl some on try this out.  Read more »

What care has to be taken to force program to execute above 16 Meg line ? 

Make sure that link option is AMODE=31 and RMODE=ANY. Compile option should never have SIZE(MAX). BUFSIZE can be 2K, efficient enough.  Read more »

What is the difference between SEARCH and SEARCH ALL ? What is more efficient ? 

SEARCH is a sequential search from the beginning of the table. SEARCH ALL is a binary search, continually dividing the table in two halves until a match is found.... Read more »

What guidelines should be followed to write a structured Cobol prg’m ? 

use ‘evaluate’ stmt for constructing cases. 2) use scope terminators for nesting. 3) use in line perform stmt for writing ‘do ‘ constructions.... Read more »

what is Pic 9v99 Indicates ? 

PICTURE 9v99 is a three position Numeric field with an implied or assumed decimal point after the first position; the v means an implied decimal point.  Read more »

What is the difference between PIC 9.99 and 9v99 ? 

PIC 9.99 is a FOUR-POSITION field that actually contains a decimal point where as PIC 9v99 is THREE- POSITION numeric field with implied or assumed decimal position.  Read more »

What is the difference between a DYNAMIC and STATIC call in COBOL ? 

To correct an earlier answer: All called modules cannot run standalone if they require program variables passed to them via the LINKAGE section. DYNAMICally called... Read more »

Page 2 of 12«12345»...Last »