View previous topic :: View next topic
|
Author |
Message |
saurabh39 Warnings : 1 Active User
Joined: 11 Apr 2008 Posts: 144 Location: Jamshedpur
|
|
|
|
All,
I have following input data -
Code: |
//SORTIN DD *
2E2B3C
0E2B3C
0E2B3C
|
The syncsort card is -
Code: |
SORT FIELDS=(3,4,CH,A)
SUM FIELDS=(1,2,ZD)
|
The output is
Instead of output as X'F3F5' i want it to be X'F3C5'. Basically i want to retain the sign nibble as C. How can I achieve it in sort. One way I can think of is using overlay, if last digit is 0, overlay it by X'C0' so and so forth, but is there any other way apart from that. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Have you thought to consult your SyncSort manual to understand this behaviour and discover how to modify it? |
|
Back to top |
|
|
saurabh39 Warnings : 1 Active User
Joined: 11 Apr 2008 Posts: 144 Location: Jamshedpur
|
|
|
|
@bill - Yes I did check my manual(Syncsort 1.2, programmer's guide). The manual doest have any information about signed nibble or I am not able to locate it. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
It doesn't say anything about ZDPRINT? That surprises me. Send your copy back to SyncSort and get a fresh one, something seems to have fallen off the page. |
|
Back to top |
|
|
saurabh39 Warnings : 1 Active User
Joined: 11 Apr 2008 Posts: 144 Location: Jamshedpur
|
|
|
|
@Bill - Thanks bill. I missed the ZDPRINT part.
Below is the way to use it -
Code: |
//$ORTPARM DD *
NZDPRINT
/*
|
or
Code: |
EXEC=SORT,PARM='NZDPRINT' |
|
|
Back to top |
|
|
|