× 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.



Michael,

Yes, you must define a Select and an SD entry. 
Although The compiler ignores the "assign" 
portion of the statement (you'll see this in 
your compile list) it still must be present. 

 file-control.                                                   
     select WKSFILE    assign to disk-sortwrk. 

 file section.                                
 sd  WKSFILE.                                 
 01  WKSrecd.                                 
     05  wks-SDLITM      pic  x(25).          
     05  wks-SDITM       pic s9(08).


Terry Winchester 
Programmer/Analyst
________________________________
The Raymond Corporation
terry.winchester@xxxxxxxxxxxxxxx 

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx 
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Rosinger
Sent: Wednesday, November 15, 2006 11:57 AM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] question on sortwork file for internal sort...

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 

Confidentiality Notice:

The preceding e-mail message (including any attachments) contains information 
that may be confidential, protected by applicable legal privileges, or 
constitute non-public information. It is intended to be conveyed only to the 
designated recipient(s). If you are not an intended recipient of this message, 
please notify the sender by replying to this message and then delete it from 
your system. Use, dissemination, distribution or reproduction of this message 
by unintended recipients is 
not authorized and may be unlawful.





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-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.