Charles Mills wrote:
Thanks all! It's been working for over a week now <g>.

It's one DISPLAY statement in a 200-line test program, and hopefully it's
about the last COBOL program I have to write, so hopefully the way I did it
(per the first suggestion received here) is good enough.

The below example is more or less the way I was trying to do it before I
gave up and asked the question. My COBOL education stopped in about 1980*
and so I was vaguely familiar with OCCURS DEPENDING but not the (from : to)
substring function.

Charles

*No Steve, I don't need a class. <g>


Awww. Beat me to the punch. <g>

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
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

Reply via email to