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
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How do get the result of your program directly on your pc?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What are the various section in data division and briefly explain them.
What are the different rules to perform a Search?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
) How do u handle errors in BMS macro?
Mention the guidelines to write a structured cobol program?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How you can characterize tables in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are the different types of condition in cobol and write their forms.
What is difference between static and dynamic call in cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the default value(s) for an initialize? What keyword will allow for an override of the default?