Awesome! Thanks, Charles
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Talman Sent: Monday, October 09, 2006 2:31 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Quick I hope COBOL question 77 D PIC X(64) . . . 77 L PIC S9(4) BINARY. . . . MOVE D (1:L) TO wherever . . . DISPLAY D (1:L) IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> wrote on 10/09/2006 05:24:27 PM: > 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? ---------------------------------------------------------------------- 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