Thanks Al.
I did not have the insight to look in the decus library. This is exactly what I wanted. Randy ________________________________ From: cctalk <cctalk-boun...@classiccmp.org> on behalf of Al Kossow via cctalk <cctalk@classiccmp.org> Sent: Tuesday, July 11, 2017 3:44 PM To: cctalk@classiccmp.org Subject: Re: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?) On 7/11/17 3:36 PM, Al Kossow via cctalk wrote: > > On 7/11/17 3:31 PM, Randy Dawson via cctalk wrote: >> Hi Chuck, >> >> >> Maybe you can answer a related question to the conversion of IBM 360 .tap >> files. >> >> >> I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap >> format: >> >> >> http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-03X_Scientific_Subr_Pkg.zip >> >> >> How do I read/convert this back into the ASCII files? >> > > it appears to be a stream of 3200 byte records, in EBCDIC > so convert the .tap records to a byte stream, convert the character set, and > add a newline > every 80 characters > > this is how it starts C TALL 10 C ..................................................................TALL 20 C TALL 30 C SUBROUTINE TALLY TALL 40 C TALL 50 C PURPOSE TALL 60 C CALCULATE TOTAL, MEAN, STANDARD DEVIATION, MINIMUM, MAXIMUM TALL 70 C FOR EACH VARIABLE IN A SET (OR A SUBSET) OF OBSERVATIONS TALL 80 C TALL 90 C USAGE TALL 100 C CALL TALLY(A,S,TOTAL,AVER,SD,VMIN,VMAX,NO,NV) TALL 110 C TALL 120 C DESCRIPTION OF PARAMETERS TALL 130 C A - OBSERVATION MATRIX, NO BY NV TALL 140 C S - INPUT VECTOR INDICATING SUBSET OF A. ONLY THOSE TALL 150 C OBSERVATIONS WITH A NON-ZERO S(J) ARE CONSIDERED. TALL 160 C VECTOR LENGTH IS NO. TALL 170 C TOTAL - OUTPUT VECTOR OF TOTALS OF EACH VARIABLE. VECTOR TALL 180 C LENGTH IS NV. TALL 190 which matches http://pdp-10.trailing-edge.com/decuslib10-02/01/43,50145/tally.ssp.html