IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sort Program - Temporary file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
SSR
Warnings : 1

New User


Joined: 26 Feb 2006
Posts: 38

PostPosted: Thu Jul 06, 2006 5:25 pm
Reply with quote

hi,

I have an SD section in my cobol program where i use a cobol sort.

i.e.

SELECT SORT-FILE ASSIGN TO SORTFL


SD section.

SORT-FILE.

DEFINITION of the file

my question is whether the SORTFL (Logical file name) need to be given in the JCL, because in one such instance i did not find the SORTFL DD statement in the JCL.

Could any one explain on how it works

Thanks n Regards
SSR
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Jul 07, 2006 10:30 am
Reply with quote

Yes i think SORTFL should be given in JCL.

Corrections r welcome
Back to top
View user's profile Send private message
cjcpr

New User


Joined: 21 Mar 2006
Posts: 21
Location: USA

PostPosted: Fri Jul 07, 2006 7:49 pm
Reply with quote

I am surprised to see there are still COBOL Sort modules exist. It is preferrable to use SORT utility in the JCL which is much more efficient and faster.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top