Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Syncsort - SUM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Thu Feb 13, 2014 11:55 am    Post subject: Syncsort - SUM
Reply with quote

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

Code:

352B3C


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
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu Feb 13, 2014 12:36 pm    Post subject: Reply to: Syncsort - SUM
Reply with quote

Have you thought to consult your SyncSort manual to understand this behaviour and discover how to modify it?
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Thu Feb 13, 2014 1:33 pm    Post subject: Reply to: Syncsort - SUM
Reply with quote

@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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu Feb 13, 2014 1:51 pm    Post subject: Reply to: Syncsort - SUM
Reply with quote

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
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Thu Feb 13, 2014 2:14 pm    Post subject: Reply to: Syncsort - SUM
Reply with quote

@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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us