>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. 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? And what if you said RECFM=FB on the SORTOUT, but omitted BLKSIZE. Is there a system determined BLKSIZE on a PATH= DD statement, or is the sort program left to deal with it? The resulting Unix file should be the same even if SORTOUT was RECFM=F, BLKSIZE=80. Is the CPU time difference detectable? Ah well. I was just curious, but I am just procrastinating. I should be working. regards, Tom Tom Russell "Stay calm. Be brave. Wait for the signs." -- Jasper FriendlyBear "... and remember to leave good news alone." -- Gracie HeavyHand ---------------------------------------------------------------------- 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