COBOL Interview Questions
Questions Answers Views Company eMail

how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 20694

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

IBM,

1912

In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)

Keane India Ltd,

3 8931

sample code for read a 2nd record from last in flatfile how can do?

iNautix,

4 12461

A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 6458

what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?

IBM, Wipro,

2 20515

I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

IBM,

4 9743

How do get the result of your program directly on your pc?

UST,

1874

What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

Fidelity,

1 8418

Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 5451

what is difference between cobol and cobol/400

HCL,

1 21553

In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

CSC,

1 4390

have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

ITC Indian Tobacco Company, PNP, TCS,

2 8993

i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?

2 5868

have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

TCS,

5 10889


Post New COBOL Questions

Un-Answered Questions { COBOL }

what are decleratives in cobol?

1827


What is the problem of ordered sequential files access?

692


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

1586


) How do u handle errors in BMS macro?

1421


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2328






How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

637


Write a program that uses move corresponding.

668


How can you get the ksds file records into your cobol program?

639


What is Pic 9v99 Indicates in COBOL?

719


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1923


A table has two indexes defined. Which one will be used by the SEARCH?

752


What is redefines clause in COBOL?

844


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

735


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

654