RC is possible in SORT?



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

RC is possible in SORT?

Postby Jegan R » Thu Nov 12, 2009 1:47 am

Hi,

we have a Requirement like this:

we have to remove duplicates from a file based on the key using SUM FIELDS=NONE,XSUM and if there are no duplicates , we need to set return code as 01.

How it is possible through SORT? we ned to check SORTXSUM file for empty condition?..
Jegan R
 
Posts: 10
Joined: Tue Aug 18, 2009 3:32 am
Has thanked: 0 time
Been thanked: 0 time

Re: RC is possible in SORT?

Postby dick scherrer » Thu Nov 12, 2009 4:47 am

Hello,

Which sort product is used on your system?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: RC is possible in SORT?

Postby Jegan R » Thu Nov 12, 2009 11:46 am

SYNCSORT we are using.. in Pgm i am using normal SORT like :
//STEP1 EXEC PGM=SORT,PARM='NULLOUT=RC4'
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=any file,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
/*

But, by this method i can set only RC=4.. I need to set RC = 1 , IS this possible in this way or thru any other method?
Jegan R
 
Posts: 10
Joined: Tue Aug 18, 2009 3:32 am
Has thanked: 0 time
Been thanked: 0 time

Re: RC is possible in SORT?

Postby dick scherrer » Fri Nov 13, 2009 3:11 am

Hello,

Not that i'm aware of in the sort. Possibly one of the Syncsort "pro"s will have a more definitive answer.

Why will the rc4 not work as well as an rc1?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: RC is possible in SORT?

Postby Jegan R » Fri Nov 13, 2009 8:30 pm

HI,

Yes, it can set RC=4,12,16... But it wil not set RC 1...I dont know why its not possible..
Jegan R
 
Posts: 10
Joined: Tue Aug 18, 2009 3:32 am
Has thanked: 0 time
Been thanked: 0 time

Re: RC is possible in SORT?

Postby dick scherrer » Sat Nov 14, 2009 2:19 am

Hello,

I dont know why its not possible..
Because of decisions made by the author/vendor.

Suggest you plan on using the utility "as is" rather than making the decision a show-stopper.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post