Sam,
SAS off the top of my head:
//IN DD DSN=MY.DSN,DISP=SHR
//SYSIN DD *
DATA LRECL00(KEEP=L);
INFILE IN LENGTH=L;
INPUT @;
OUTPUT;
RUN;
PROC UNIVARIATE DATA=LRECL00;
VAR L;
RUN;
Should be close - hope it helps;
Ron
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of Knutson, Sam
> Sent: Wednesday, 5 October 2005 9:17 PM
> To: [email protected]
> Subject: Summarize length of all variable length records in a file?
>
> Hi,
>
> I can write a quick and dirty program to do this but since it is for an
> application group a supported utility would be preferred.
>
> Does anyone have code to use SAS, SYNCSORT or some other utility to
> quickly
> summarize the lengths of all the records in a file of variable length
> records?
>
> Best Regards,
>
> Sam Knutson, GEICO
> Performance and Availability Management
> mailto:[EMAIL PROTECTED]
> (office) 301.986.3574
>
> Umm-huh. - Kirk, trying to explain Spock's weirdness as a result of LSD,
> and
> confusing his 20th century Earth history, "Star Trek IV""
>
> <>
>
>
> ====================
> This email/fax message is for the sole use of the intended recipient(s)
> and
> may contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution of this email/fax is prohibited.
> If
> you are not the intended recipient, please destroy all paper and
> electronic
> copies of the original message.
>
> ----------------------------------------------------------------------
> 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
----------------------------------------------------------------------
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