OS/400 will take care of whatever is needed for a COBOL sort.  You don't 
even need a CL to run the COBOL with a sort.  (Although I'm sure there are 
other reasons you might be using a CL.)

cobol400-l-bounces@xxxxxxxxxxxx wrote on 11/16/2006 01:00:03 PM:

date: Thu, 16 Nov 2006 05:46:37 -0500
from: "Michael Rosinger" <mrosinger@xxxxxxxxx>
subject: Re: [COBOL400-L] question on sortwork file for internal
   sort...

I appreciate all the responses. What, if any, special code needs to be 
specified in the CL to support COBOL sort work files? Or is it 
"auto-magically" handled by the operating system?

-- 
Regards,

Michael Rosinger
Systems Programmer / DBA
Computer Credit, Inc.
640 West Fourth Street
Winston-Salem, NC  27101
336-761-1524
m rosinger at cciws dot com
"Michael Rosinger" <mrosinger@xxxxxxxxx> wrote in message 
news:mailman.800.1163609829.2629.cobol400-l@xxxxxxxxxxxxxxx
List,

I am busy writing my source filter program for converting COBOL 
programs 
from the mainframe to ILE/COBOL. Some questions please....

1) Is it necessary to define a SELECT for the sortwork file for an 
internal COBOL SORT?

2) If #1 is yes, could someone provide an example of the SELECT and FD 
for 
the sortwork file?

3) If anyone out there is familiar with the differences between 
mainframe 
and iSeries concerning this, is there anything else I need to be aware 
of 
on this topic?


-- 
Regards,

Michael Rosinger
Systems Programmer / DBA
Computer Credit, Inc.
640 West Fourth Street
Winston-Salem, NC  27101
336-761-1524
m rosinger at cciws dot com





------------------------------

-- 
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) digest 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.



End of COBOL400-L Digest, Vol 4, Issue 121
******************************************



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.