How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,


Why IBM?

1 Answers   IBM,


What is the difference between working storage copybook and linkage section copybook?

5 Answers   TCS,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


Name some of the examples of COBOl 11?

0 Answers   CSC,






What is SET TO TRUE all about, anyway?

5 Answers  


What is the maximum length of a field you can define using COMP-3 in COBOL?

1 Answers   UGC Corporation,


What is static and dynamic call in cobol?

0 Answers  


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


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

5 Answers   iGate,


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 Answers  


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


Categories