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 |
can we use variable picture clause as xx.99 in cobol.
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
)what is retrieve?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..
what is filler and what is use of filler
what happens if parmparameter passes zero bytes to the program
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
01 a pic s9(5) value '-12345' how it will be stored
what is s013u000 for?
Explain fixed length record in cobol? with suitable example
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?