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 Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
How to retrive the 9th records out of ten records using the cobol program ?
What does MAXCC 3 means? It is used in one my codes.
How does IDMS communicate with CICS?
What is Redefines clause?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
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?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
wht do u mean by (*,intrdr) wht is * used for ?
What is file status 39 ?