Anton Britz wrote:

//SORTWK01 DD SPACE=(CYL,(4000,500)),UNIT=TMPDA,
//            DCB=(LRECL=2000,BLKSIZE=28000,RECFM=FB)

You may want to change your block size to 0 and let the system determine the best size. Your size of 28000 is actually too big for 1/2 track blocking. The largest block size you have to get 1/2 track is 27,998.

With 28000 you get 14 records per block, but only 1 block per track.
For a record size of 2,000 the system determind to use 18,000, which gets you 9 records per block, but you can get 3 blocks per track which yields 27 records per track.

Almost twice as much as you are getting!! Which mean you need about 1/2 of the sort work space you are allocating and my guess is you will cut your run time down as you are getting more records per I/O.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to