Syncsort - Including -ve values



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

Syncsort - Including -ve values

Postby ranga_subham » Thu Feb 27, 2014 4:30 pm

Hi,

I ran below SORT but don't get -ve records written to output !

//STEP0100 EXEC PGM=SORT     
//SYSOUT   DD SYSOUT=*       
//SORTIN   DD *             
-10000                       
200                         
-800                         
-1200                       
//SORTOUT  DD SYSOUT=*       
//SYSIN    DD *             
  SORT FIELDS=COPY           
  INCLUDE COND=(1,6,ZD,LT,+0)


May I please know what could be wrong here?

SYSOUT:
SYSIN :                                                                 
  SORT FIELDS=COPY                                                       
  INCLUDE COND=(1,6,ZD,LT,+0)                                           
WER276B  SYSDIAG= 2352029, 3366285, 3366285, 1757700                     
WER164B  6,904K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,       
WER164B     0 BYTES RESERVE REQUESTED, 272K BYTES USED                   
WER146B  12K BYTES OF EMERGENCY SPACE ALLOCATED                         
WER108I  SORTIN   : RECFM=FB   ; LRECL=    80; BLKSIZE=    80           
WER110I  SORTOUT  : RECFM=FB   ; LRECL=    80; BLKSIZE=    80           
WER410B  5,876K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B     0 BYTES RESERVE REQUESTED, 156K BYTES USED                   
WER055I  INSERT          0, DELETE          4                           
WER416B  BSAM WAS USED FOR SORTIN                                       
WER416B  BSAM WAS USED FOR SORTOUT                                       
WER054I  RCD IN          4, OUT          0                               
WER169I  RELEASE 1.3 BATCH 0506 TPF LEVEL 2.2                           


Please help.

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Syncsort - Including -ve values

 

Re: Syncsort - Including -ve values

Postby BillyBoyo » Thu Feb 27, 2014 4:53 pm

Your field is not ZD. Try with a field-type of SFF instead.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Syncsort - Including -ve values

Postby ranga_subham » Fri Feb 28, 2014 4:31 pm

Thanks Bill...I got it worked after changing from ZD to SFF.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post