On 9 Oct 2006 14:24:46 -0700, in bit.listserv.ibm-main you wrote:

>I know this isn't the COBOL list. I'm not a COBOL programmer, so it all
>works out. I'm writing a quick COBOL test program. I've got a PIC X(64)
>field but the actual length of the data in the field is in a separate S9(4)
>field. I want to display the real data and not whatever garbage might be
>beyond the real data. Is there any easy way to do this?
DISPLAY Pic-X-64-field (1 : X-64-Actual-data-length).

>
> 
>
>Thanks!
>
>Charles Mills
>+1-707-291-0908
Clark Morris cfmpublic at ns.sympatico.ca

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