Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

COBOL Interview Questions
Questions Answers Views Company eMail

How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 5620

In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 3078

01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 3666

RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE

TCS,

12 11882

level number 77 is used to define a)group data b)elementary data c)redefine d)none

TCS,

8 7729

How to read a record from bottom of a file which is indexed by 'A'.

Oracle,

4 6313

a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 10288

Can printer files (having 133 characters) be of variable length?

3 4478

Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 2978

What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 22600

is it possible to pass an SQL query inside a jcl which is inside a cobol program?

CTS,

5 9977

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 4552

Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 4347

What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

Xansa,

3 4273

What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?

Xansa,

6 6675


Post New COBOL Questions






Un-Answered Questions { COBOL }

Write the code implementing the perform … varying.

198


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.

3055


What is the difference between structured cobol programming and object alternativelyiented cobol?

198


What is the difference between PIC 9.99 and PIC9v99?

227


What is a report item?

207






What is comp-1 and comp-2?

237


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

198


What are literals?

207


What are the different rules for performing sort operation?

265


What are the different types of condition in cobol and write their forms.

193


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

218


Which Search verb is equivalent to PERFORM…VARYING?

208


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?

4492


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

183


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1150