Re: Cobol internal SORT causes changes in fields
- From: Andreas Lerch <andreas@xxxxxxxxxxxxxxxx>
- Date: Sun, 26 Mar 2006 19:43:30 GMT
?? Ursprüngliche Nachricht
Am 26.03.06, 16:23:14, schrieb ddd.best@xxxxxxxxx zum Thema Cobol
internal SORT causes changes in fields:
Hi,have
When i'm trying to sort a file with Cobol internal SORT function I
the following problem:
My Records can have the same key, but last field in record has varying
length, and while sorting -the entry which has the longest value in it
is copied to other entries that has shorter values.
i.e:
Before sort I had: (the key here is: P100000000014125X)
P100000000014125X000026000000010100T3150
P100000000014125X000112000000030100P29091025
After sort:
P100000000014125X000112000000030100P29091025
P100000000014125X000026000000010100T31501025
there is a little setting: OPTION EQUALS on your sort, to get the
records in the same sequence the sort read it. Take a look on the
SYSOUT-listing.
You can provide it to your sort via DFSPARM (IBMSORT) or $ORTPARM
(SyncSort).
Einen schoenen Tag
Andreas Lerch
.
- References:
- Cobol internal SORT causes changes in fields
- From: ddd . best
- Cobol internal SORT causes changes in fields
- Prev by Date: Re: Looking for IMS and Cobol mainframe consultant for a contract opportunity (working on IMS is complusory)
- Next by Date: Re: Cobol internal SORT causes changes in fields
- Previous by thread: Cobol internal SORT causes changes in fields
- Next by thread: Re: Cobol internal SORT causes changes in fields
- Index(es):
Relevant Pages
|