How to read a record from bottom of a file which is
indexed by 'A'.
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / rd
WE can use low valus to execute the file from bottom.
Is This Answer Correct ? | 0 Yes | 3 No |
What is the utilization of copybook in cobol?
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
what is the difference between implicit and explicit scope terminator with example?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
how will u find out 3rd week's 2nd day using occurs ?
what is difference between cobol and cobol/400
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
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
What is a report item?
What is a subscript ?
what happens of we dont give time stamp in precompilation process
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