what are the steps to sort in a cobol program?
Answer Posted / vaneesh
SORT WORK-FILE ON
ASCENDING KEY AS WS-KEY1
DESCENDING KEY WS-KEY2
USING INPUT-FILE GIVING OUTPUT-FILE.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
How do you reference the fixed block file formats from cobol programs
) how do u code after getting data?
In COBOL programming, what is PERFORM? What is VARYING?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How to remove 2 duplicate records and copy only one using job control language?
What rules are to be followed while using the corresponding options?
Which Search verb is equivalent to PERFORM…VARYING?
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.
What is amode(31)
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.