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 difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is normalisation?
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
where will we code call by content and call by reference dude pls reply soon ?
Define cobol?
how do you reference the printer file formats from cobol programs
what is the difference b/w level no.01 & level no.77?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
What COBOL construct is the COBOL II EVALUATE meant to replace?
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
What is the size of s9(19)comp3? explain