How to read a record from bottom of a file which is
indexed by 'A'.

Answers were Sorted based on User's Feedback



How to read a record from bottom of a file which is indexed by 'A'...

Answer / bm

USE SORTING ie:

SORT file-name1
ON DESCENDING KEY A
USING file-name2
GIVING file-name3

then read file-name3.

This is the nearest I can think of, any other solutions
please..

Is This Answer Correct ?    7 Yes 0 No

How to read a record from bottom of a file which is indexed by 'A'...

Answer / mahesh

we can read a file from bottom using "EXEC CICS READ PREV"
command in COBOL program.

Is This Answer Correct ?    7 Yes 1 No

How to read a record from bottom of a file which is indexed by 'A'...

Answer / guest

It just a cobol program

Is This Answer Correct ?    2 Yes 3 No

How to read a record from bottom of a file which is indexed by 'A'...

Answer / rd

WE can use low valus to execute the file from bottom.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

What is the utilization of copybook in cobol?

0 Answers  


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

0 Answers  


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,






what is difference between cobol and cobol/400

1 Answers   HCL,


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


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,


What is a report item?

0 Answers  


What is a subscript ?

3 Answers  


what happens of we dont give time stamp in precompilation process

2 Answers  


Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya

2 Answers   CSC,


Categories