Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Sat Jul 23, 2011 8:07 am Post subject:
Mohanreddy.nani...
1) You do NOT tag your question on to an old question - you start a new topic
2) Do you really want the JCL or do you want the sort control cards? If you want sort control cards you should have posted in the Utilities section which has a description starting DFSORT. If you want JCL for running DFSort then that is in the DFSort manual.
3) Your data is all over the place so that it is impossible to decipher what you want - use code tags to keep alignment. (preview your post, highlight the text to be encoded and click the code button above the edit box)
4) What is your input record length? Your output record length? The record formats of your files? The start column and lengths of your key fields? The rules for getting from input to output? Can there be duplicates in which case how should they be handled?
5) Suggest you also read the forum rules! _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Mon Jul 25, 2011 11:23 am Post subject:
mohanreddy.nani,
As Nic mentioned you need to provide more details. However here is a sample job which will create an 8 byte summed up output with leading zeroes suppressed. If you want the leading zeroes then use M11 , instead of M10.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum