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
 

 

Sort on a COBOL Program

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

New User


Joined: 23 Sep 2005
Posts: 2

PostPosted: Fri Sep 23, 2005 2:22 pm    Post subject: Sort on a COBOL Program
Reply with quote

Hi!

I am using SORT verb in cobol pgm, as below

SORT WORKFILE ON ASCENDING KEY AGE2 USING INFILE
GIVING OUTFILE.

It will sucessfully compile after RUN, it will also give MAXCC=0.

But it not write anything in output(sorted) file.
It will display msg at TSO SDSF ST like below..

The SORT-RETURN special register was never referenced, but the current content indicated the sort or merge operation in program FILESRT on line number 42 was unsuccessful.

PLEASE GIVE SOME SOLUTION.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Sep 30, 2005 6:18 pm    Post subject: Re: Sort on a COBOL Program
Reply with quote

Has your post to do any thing with the one below.....

Why the same question as a different topic....

http://ibmmainframes.com/viewtopic.php?t=5816

Regards,

Priyesh.
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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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