IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cobol sort and mearge is not working?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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: 1208
Location: Bangalore,India

PostPosted: Tue Jul 18, 2006 3:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top