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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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