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

Sort work file allocation in Cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jeyanthi M

New User


Joined: 21 Mar 2008
Posts: 5
Location: India

PostPosted: Thu Jul 31, 2008 4:50 pm
Reply with quote

Hi,
Sort work file allocated in Cobol program was of LRECL– 69 and the sort work temporary file allocated in job was 59. But there was no issue while running the job due to this file mismatch.

Also I noticed that even when sort work file is not allocated in JCL, the job runs fine.

Are the sort work files allocated dynamically by DFSORT called by Cobol?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 31, 2008 5:21 pm
Reply with quote

I don't remember. why don't you refere to this document and let us know:
www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 31, 2008 8:35 pm
Reply with quote

Hello,

Quote:
the sort work temporary file allocated in job was 59
Sort work files should only have a UNIT and a SPACE parameter when specified.

There should be no DCB specification for sort work files. . . IIRC
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