COBOL Interview Questions
Questions Answers Views Company eMail

ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????

TCS,

6 12139

can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

IBM,

10 9778

How do pass the values to the parameters in cobol

2 5029

SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

Wipro,

2 5993

) How do you access the migrate the data from production region to development region

IBM,

1 3838

Where the Plan is located in CICS-DB2

IBM,

2 5325

How do you get the data to code the BMS macro?

IBM,

1472

what are the working storage fields in BMS macro?

IBM,

2 2668

what is the difference between PA & PF keys?

IBM,

1 4420

Whats the difference between search & search ALL?

IBM,

3 5249

If I want to increase the Limit in GDG. What should I do?

IBM,

1 5450

how do u list the abended jobs?

IBM,

1 3693

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

IBM,

1520

What is ASKTIME, SUSPEND

IBM,

1 4245

) what is the difference between AID and HANDLE AID?

IBM,

1629


Post New COBOL Questions

Un-Answered Questions { COBOL }

What is length is cobol?

641


What are literals?

625


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10571


Difference between cobol and cobol-ii?

704


Name the sections present in data division.

697






How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

731


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

749


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

624


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8153


What is amode(31)

715


) How do u handle errors in BMS macro?

1423


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

742


Explain about different table spaces.

642


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1227


Write the code implementing the perform … varying.

639