View previous topic :: View next topic
|
Author |
Message |
vk_tanwani
New User
Joined: 16 Jul 2006 Posts: 6
|
|
|
|
Cobol sort and mearge is not working?
As per given in book ( Roy ) so how can we sort the data set in cobol? |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
Hi,
You need to Declare an intermediate Sort File in File Section
SD Sort-File-Temp
.
.
01 srt-rec
.
Para-Sort.
SORT Sort-File-Temp ON ASCENDING KEY your-sort-key
USING Out-File GIVING In-File.
~Vamsi |
|
Back to top |
|
|
vk_tanwani
New User
Joined: 16 Jul 2006 Posts: 6
|
|
|
|
We have tried these things but this is not working. It is giving 4088 error. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
would you please send ur code that will help us to identify the error |
|
Back to top |
|
|
|