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 LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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