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. > > Has anyone else already invented this wheel or have some idea how to go > about it? > If not ICETOOL, is there another common IBM utility that I am > overlooking that > can do this without having to resort to writing a program? > > Thanks, > Bill Bass > Senior Applications Developer > United Health Care > Greenville, SC > > > > > 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 > ---------------------------------------------------------------------- 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

