Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Cobol sort and mearge is not working?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
vk_tanwani

New User


Joined: 16 Jul 2006
Posts: 6

PostPosted: Sun Jul 16, 2006 10:58 am    Post subject: Cobol sort and mearge is not working?
Reply with quote

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
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Jul 17, 2006 12:45 pm    Post subject: Re: Cobol sort and mearge is not working?
Reply with quote

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
View user's profile Send private message
vk_tanwani

New User


Joined: 16 Jul 2006
Posts: 6

PostPosted: Mon Jul 17, 2006 12:54 pm    Post subject: reply
Reply with quote

We have tried these things but this is not working. It is giving 4088 error.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Jul 18, 2006 3:21 pm    Post subject:
Reply with quote

would you please send ur code that will help us to identify the error
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us