It may have just been mangled by email, but your "OPTION VLSHRT" looks like it's just a comment on the INCLUDE statement. The OPTION statement should be on a separate line, and I would normally put it before the SORT statement, though that may not be required.
>>> larry macioce <[email protected]> 3/1/2010 11:14 AM >>> I was graciously given some jcl to do a sort of an unloaded racf db. The problem is I am getting: ICE218A 1 26 BYTE VARIABLE RECORD IS SHORTER THAN 28 BYTE MINIMUM FOR FIELDS the jcl is: //TOOLIN DD * SORT FROM(INDD) TO(TEMP0001) USING(ULDF) DISPLAY FROM(TEMP0001) LIST(PRINT) - PAGE - TITLE('LIST OF IDS') - DATE(4MD/) - TIME(24:) - BLANK - ON(10,8,CH) HEADER('USER ID') - ON(79,20,CH) HEADER('USER NAME') - ON(100,8,CH) HEADER('DEFAULT GROUP') - ON(19,10,CH) HEADER('CREATED') //INDD DD DISP=SHR,DSN=SYS1.RACF.RPT //TEMP0001 DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(20,5,0)), // UNIT=SYSDA //ULDFCNTL DD * SORT FIELDS=(10,8,CH,A) INCLUDE COND=(5,4,CH,EQ,C'0200',AND, 19,10,CH,GE,C'2008-07-01',AND, 19,10,CH,LE,C'2009-06-30') OPTION VLSHRT As you can see I was given the vlshrt (didnt know what it was, looked it up) option so now I am confused. Thanks mace ---------------------------------------------------------------------- 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 CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you. ---------------------------------------------------------------------- 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

