Add header and trailer to four files

IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Re: Add header and trailer to four files

Postby BillyBoyo » Wed Nov 28, 2012 2:04 pm

When you highlight and select data from your mainframe emulator screen, it is just the screen you are doing it to, not the actual data.

If you transfer the file to your PC instead (talk to colleagues/support to find out what is available to you for this) you'll see the "data only" plus control codes for "end of line" which are added for Windows in the transfer process, but which do not exist in your mainframe data.
Global moderator
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Re: Add header and trailer to four files


Re: Add header and trailer to four files

Postby NicC » Wed Nov 28, 2012 4:40 pm

Why are you pasting to notepad? If you are trying to post your data on the forum then post directly into the reply editor, select it and click on the code button (you need to use the post reply link or the full editor as opposed to the quick reply link in order to get the extra editing buttons)
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Add header and trailer to four files

Postby dick scherrer » Wed Nov 28, 2012 8:41 pm


How did you copy the file to notepad?

Show the file on the mainframe using HEX ON.

We can go from there.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times




  • Related topics
    Last post