in cobol i have one file it contains records like
10,4,23,98,7,90..... total records 100. iwant 10 to 20 in
reverse order in cobol environ ment any one please give the
answer......
Answer Posted / karthick
Ya its simple.......
U can select these records as primary key in ksds cluster.
In cobol program you specify access as random. then select
particular records. and then sort it out in reverse order.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
what happens if parmparameter passes zero bytes to the program
Explain what you understand by passing by value.
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 to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why occurs cannot be used in 01 level in COBOL?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
i want a program using by if, evaluate , string, unstring, perform, occurs?
how do you reference the variable block file formats from cobol programs
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between Global and External Variables?
how to convert the recors form vsam file to db2 table tru file aid
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the default value(s) for an initialize? What keyword will allow for an override of the default?