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 coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


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

3 Answers   L&T,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


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

3 Answers   GreenTree, IBM,


Define cobol?

1 Answers  


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


What is Static,Dynamic linking ?

2 Answers  


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,


Categories