Frank, Peter provided an excellent example of stripping the desired characters. For Variable length copies, you just need to specify the START position of the field you want to write from(Please account for the RDW) and you don't have to specify the length as under the covers SORT will figure out the length to copy by using the length in RDW
Kolusu ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
