Please do not attach "screenshots". To post what is on a 3270-screen, simply copy/paste form the terminal to the reply and then use the "Code" tag (which will preserve alignment and improve readability). Many people are not permitted to download attachments for security reasons in their organization. As hard as it may be to believe, not everyone has Microsoft Office. . .
When using the Code tag, also use Preview so you can see your post as it will appear to the forum (rather than how it appears in the Reply Editor).
I had just provided the logic and wasnt aware that i need to code and give the solution.
It is always most
helpful if a suggestion/solution is accompanied with the actual code/jcl and the output from a successful