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

COBOL Interview Questions
Questions Answers Views Company eMail

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

2 15090

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



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 6668

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


4 9863

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 5015

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 17103

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


4 7508

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



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


1 6678

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 3819

what is difference between cobol and cobol/400


1 19606

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?


1 3007

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 6920

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 4447

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..


5 8201

Post New COBOL Questions

Un-Answered Questions { COBOL }

how to refer the data field?


How you can read the file from bottom?


What is amode(24)?


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?


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


Whats the difference between search & search ALL?


What are the divisions in a cobol program? Which one is the mandatory division among them?


What are 77 levels used for?


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.


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?


What are the various section in data division and briefly explain them.


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that


What is the Purpose of Pointer in the string?


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?


When is inspect verb is used in cobol?