How to read a record from bottom of a file which is
indexed by 'A'.
Answer Posted / 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 |
Post New Answer View All Answers
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do u write test cases?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are different data types in cobol?
Explain what you understand by passing by value.
Explain about different table spaces.
Write a program to enter and display the names of students in a class using the occurs clause.
How to remove 2 duplicate records and copy only one using job control language?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Difference between cobol and cobol-ii?
In COBOL, what is the different between index and subscript?
What is the difference between structured cobol programming and object alternativelyiented cobol?
how do you reference the variable block file formats from cobol programs
Define static linking and dynamic linking.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?