COBOL Interview Questions
Questions Answers Views Company eMail

01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

Patni,

7 8777

where do we use dyanamic call ? and where do we use static call pls give any example pls ?

Patni,

3 6269

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

Patni,

6 10686

Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

IBM,

5 9284

I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

EDS,

2 5328

wht happens if we dnt give scope terminator ?

TCS,

4 6955

where will u code file status ?

TCS,

2 5511

how do u link sub pgm to main pgm ?

TCS,

2 6472

how to pass 100 to s9(4) how r they inserted ?

TCS,

3 8670

can we print comp 3 stmts how ?

Accenture, TCS,

3 11911

Difference between ps, esds

3 12603

Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

1 5286

s9(18) comp-3:: What is the size of memory it takes internally?

4 8413

How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

CSC, TCS,

4 16399

what is srange and nosrange pls reply to ths question ?

L&T,

2 6182


Post New COBOL Questions

Un-Answered Questions { COBOL }

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

628


Write a program to enter and display the names of students in a class using the occurs clause.

638


Name some of the examples of COBOl 11?

2666


What is the usage of comp fields in cobol?

643


What is perform what is varying?

690






What is a SSRANGE and NOSSRANGE?

800


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1993


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

757


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?

681


what is difference between cobol and cobol/400

21530


What is the difference between goback, stop run and exit program in cobol?

903


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

697


Mention the guidelines to write a structured cobol program?

598


what is search and searchall?what is the diffrence between them?give an best example?

5508


What is the difference between perform … with test after and perform … with test before?

859