COBOL Interview Questions
Questions Answers Views Company eMail

input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1862

How do u initialize an array?

CTS,

2 13349

How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

CTS,

1 9941

If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

CTS,

8 22956

How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?

Cap Gemini, CTS,

3 19611

can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

CTS,

13 32327

01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

HSBC,

13 32669

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1948

01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2

HSBC,

9 12088

what are the steps to sort in a cobol program?

Patni,

2 4716

how will you define vsam file in select clause?

Patni,

3 7177

whats the difference between search and search all?

Patni,

4 5980

can you declare redefine in level 01?

Patni,

8 16311

using redefine can you redefine lower variable size to higher variable size?

Patni,

3 6776

if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

Patni,

1 6775


Post New COBOL Questions

Un-Answered Questions { COBOL }

what is amode(24), amode(31), rmode(24) and rmode(any)?

688


What kind of error is trapped by on size error option?

733


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1948


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


how do you reference the variable block file formats from cobol programs

675






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

1908


What is the default value(s) for an initialize and what keyword allows for an override of the default?

686


What is the difference between comp and comp-3 usage?

669


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

632


What is a SSRANGE and NOSSRANGE?

809


What are the different rules to perform a Search?

613


What is the use of intialize verb?

738


What is the difference between Global and External Variables?

654


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)?

619


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

848