I thought about that briefly but my file was too large for ISPF edit and I also had the apparently mistaken impression that it would only remove the trailing spaces from the particular records that got otherwise changed. Kind of the way it changes case when you have CAPS ON and edit a file containing lower case data. It would not have expected edit to alter records that you did not specifically touch.
Bill > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Roger Bolan > Sent: Thursday, September 18, 2008 8:01 PM > To: [email protected] > Subject: Re: Another ICETOOL challenge > > I don't know how big your file is, or how automated a process > you need, > but if you open > and save the file with ISPF Edit, and you don't have this > option checked: > > / Preserve VB record length > then it will automatically trim the trailing blanks off. > I know, because I work with files where preserving the VB length is > important and we have to remind people to have that turned on. > > --Roger > > IBM Mainframe Discussion List <[email protected]> wrote on > 09/10/2008 > 04:07:16 PM: > > > I have a file of variable length records > > DCB=(DSORG=PS,RECFM=VB,LRECL=1504,BLKSIZE=27998) > > The records are already a variety of different lengths. > > Many, but not all of these records have trailing blanks > (x'40') on the > > end. > > I would like to remove those trailing blanks. > > > > I suspect that ICETOOL can kindly remove them for me and shorten the > > record > > length accordingly, but I have not yet been able to figure out how. This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ---------------------------------------------------------------------- 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

