Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hello and welcome to the forum,
When you have a question, you need to start a new topic for your question (rather than post a reply to some existing topic).
You need to post some sample input (not much, just enough to demonstrate your data and the "rules" for processing) and the output you want from the sample input. Also mention the dsorg and lrecl of the files.
When posting data (or code or jcl, etc), use the Code tag to preserve alignment and improve readability. We have a Preview function so you can see your post as it will appear to the forum (not only as it appears in the Reply Editor). When the post appears as you want, then Submit.