----------------------------------------------------------------------------------
234 090692 2010-05-19 A $3,440.00 6 $4,90
234 090692 2010-05-19 A $3,440.00 6 $5,00
234 090694 2010-05-19 A $3,500.00 6 $7,00
234 090693 2010-05-19 A $3,500.00 6 $7,55
*************************************************************
I am sorting using date filed using below sort card
SORT FIELDS=(19,10,CH,A) but I want to exclude ******* while sorting but want to be display in the file
after srorting my file looks like below
Code:
OFFICE ACCOUNT DATE DEPOSIT AMOUNT DAYS AMOUNT
----------------------------------------------------------------------------------
*************************************************************
234 090692 2010-05-19 A $3,440.00 6 $4,90
234 090692 2010-05-19 A $3,440.00 6 $5,00
234 090694 2010-05-19 A $3,500.00 6 $7,00
234 090693 2010-05-19 A $3,500.00 6 $7,55
but I need to be in bttom of the file after last record
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
Which sort product are you using.
If you are not sure, then by running a simple sort step shown below, you will be able to find out for yourself.
If the messages start with ICE then your product is DFSORT and the topic will be moved to the correct forum. Please also post the output of the complete line which has a message code ICE201I, as this will enable our DFSORT experts to determine which release of DFSORT that you have installed. This may also affect the solution offered.
If the messages start with WER or SYT then the product is SYNCSORT and the topic will remain in the JCL forum. Please also post the information telling which version of SYNCSORT is installed, as this may also affect the solution offered.
Thank you for taking your time to ensure that the valuable time of others is not wasted by offering inappropriate solutions which are not relevant due to the sort product being used and/or the release that is installed in your site.
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
William Thompson wrote:
Quote:
By the way, per the input from your example, date field starts from column 18 not 19. And all the dates are same...
Unless the format is FBA.....
, yes that's correct William but I've used the "in stream data" as input for the job I show, which would be equivalent to FB/80 - so I had to change the positions in the sort control statements.