> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of John Gilmore
>
> You have a response that apparently meets your needs.
>
> Your question interests me for another reason. I asked two admittedly
very bright 15 year olds to
> write a parameterized--a value V, a field of length L, and a
one-origin offset O of its first byte--
> PL/I procedure to do what you want to do.
>
> It took them 10 and 13 minutes, respectively, to come up with correct,
working procedures complete
> with bullet proofing and test cases.
>
> The use of the SORT to do this job seems to me to be much akin to
using a piledriver to set a ten-
> penny nail., and I should be interested to know why you sought a
canned solution to a problem of this
> sort.
"Everybody" has a SORT utility. Not everybody has a [PL/I|other HLL]
compiler.
-jc-
----------------------------------------------------------------------
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