COBOL Interview Questions
Questions Answers Views Company eMail

I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

GreenTree, IBM,

3 8489

write a program to eliminate duplicate records in a input file and send them to output file.

IBM,

2 5377

wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

iGate,

5 8038

if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

IBM,

1 3750

write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...

iGate,

5 18205

how many maximum no of variables can be declared in linkage section ?

HCL,

2 5392

what are the isolation levels and where we use it in the db2 program

TCS,

3 6849

what is scope terminator

IBM,

2 4863

how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 7386

can anyone explain me the concept of COMP-4 PLEASE??

2 4127

can internal sort be applied to sort ksds files?

1 4611

I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

ADP,

2 4403

I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

1 3766

There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 5468

how to access the file from prodution from changeman tool and to submit a file to production

IBM,

1 6658


Post New COBOL Questions

Un-Answered Questions { COBOL }

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

1914


What is the LINKAGE SECTION used in COBOL?

878


What is the difference between PIC 9.99 and 9v99 in COBOL?

723


example for sub strings ? and refernce modifications whit output pls

1830


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

2318






what happens if parmparameter passes zero bytes to the program

1648


Which division and paragraphs are mandatory for a COBOL program?

701


) what is the difference between AID and HANDLE AID?

1624


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1603


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

730


how do you reference the ksds vsam file formats from cobol programs

645


In COBOL, what is the different between index and subscript?

748


How do you reference the fixed block file formats from cobol programs

690


Define cobol?

850


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1828