Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us