can we read records in a file from botom to top. if
possible how can we read
Answer Posted / sreejith
yes it is possible by using access mode dynamic.
use START command to point last record.then start reading
using READ PREVIOUS command until first record
| Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
Discuss about changing dataset name in proc.
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
How can you get the ksds file records into your cobol program?
What is Pic 9v99 Indicates in COBOL?
What is amode(24)?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
IF I mention stop run in CICS what happens?
What is a report item?
Can a Search can be done on a table with or without Index?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how to convert the recors form vsam file to db2 table tru file aid
what is search and searchall?what is the diffrence between them?give an best example?