On Thu, 17 Jan 2008 17:25:43 -0500, Tom Russell <[EMAIL PROTECTED]> wrote:
>>Date: Tue, 15 Jan 2008 12:16:53 -0600 >>From: Mark Zelden <[EMAIL PROTECTED]> >>Subject: Re: DFSORT question MERGE w/SUM FIELDS=NONE >> >>This worked (SYNCSORT). But I did have to specify LRECL, BLKSIZE, >>and RECFM on the DDs or I got RC16: > > >>//SORT EXEC PGM=SORT >>//SYSOUT DD SYSOUT=* >>//SORTIN DD PATH='/u/myuserid/testdata', >>// LRECL=80,BLKSIZE=8000,RECFM=FB, >>// PATHOPTS=ORDONLY,FILEDATA=TEXT >>//SORTOUT DD PATH='/u/myuserid/testdata.sorted', >>// PATHDISP=(KEEP,DELETE), >>// PATHOPTS=(OWRONLY,OCREAT,OEXCL),PATHMODE=(SIRWXU,SIRGRP), >>// LRECL=80,BLKSIZE=8000,RECFM=FB, >>// FILEDATA=TEXT >>//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(1)) >>//SYSIN DD * >> SORT FIELDS=(1,80,CH,A) >> END >> >>Mark > >Mark, I find it interesting that you chose 8000 as the BLKSIZE. No particular reason. I can only multiply by adding zeros?? ;-) >There is >of course no actual block size on the Unix file... you are just controlling >how often you go through the access method I/O routines. > >Is the difference in CPU time detectable if you coded the input as RECFM=F? Don't know. Test it... >And what if you said RECFM=FB on the SORTOUT, but omitted BLKSIZE. Already covered... by me (sort of indirectly with a pointer to the fine manual) and by John Reda directly. The I/O is BSAM and you have to supply DCB info. > Is >there a system determined BLKSIZE on a PATH= DD statement, or is the sort >program left to deal with it? see above >The resulting Unix file should be the same >even if SORTOUT was RECFM=F, BLKSIZE=80. Is the CPU time difference >detectable? > Again, don't know. Test it... Regards, Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[EMAIL PROTECTED] z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- 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