can we read records in a file from botom to top. if
possible how can we read

Answer Posted / rakesh

you can point to last rec using start, then read using 'read
prior' statement

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

693


What is inspect in cobol ?

797


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

716


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1951


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1113






How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

643


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052


What is the difference between PIC 9.99 and PIC9v99?

775


What type of SDLC u followed? Why?

1516


How you can characterize tables in cobol?

710


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

892


Why would you use find and get rather than to obtain?

679


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5372


What are the different types of condition in cobol and write their forms.

656


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

8156