Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Thu Oct 04, 2012 3:15 pm Post subject:
If you use the code tags in the editor it preserves spacing so that we can more easily analyse your code.
It also helps to provide the output from the program - that will provide the error messages.
As you have a sort problem you should have posted in the sort part of the forum.
Does your SORT FIELDS start in column 1? If so, read the manual. Sort control cards do NOT start in column 1 unless the value is a label.
If you want us to be polite then you should be polite and read the forum rules before posting and study the forum layout so tyhat you post in the correct section. _________________ Regards
If you actually want to do something with your example, you'll likely need to look at the sort key you have specified. You show 1,1, which is start position one for a length of one. This will get everything in sorted order on one byte only, the first, which is perhaps not what you want. Take the start of the field you want to sequence on, the length of the field, and whether you want the sort ascending (A) or descending (D).
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