× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you don't want to create a new logical then
use the standard Cobol SORT capabilities built
into the language.



-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Richard Reeve
Sent: Monday, May 13, 2019 8:17 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Change order (sort) print file in COBOL program

I have been asked to change the order of a print file in a COBOL program.
The driving file is a logical file. What is the best practice for
accomplishing this? The goal is to sort by Division & Date. I don't want
to create another logical file. It's been I while since I've done any
COBOL programming so I'm a bit rusty.

Thanks for your help.

All the best,

Richard Reeve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.