Syncsort - ZD to PD with signs



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

Re: Syncsort - ZD to PD with signs

Postby dick scherrer » Thu Oct 24, 2013 12:42 am

Hello,

I should have asked earlier.

Do you have one value or 2 values to be changed to PD?
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: Syncsort - ZD to PD with signs

Postby Akatsukami » Thu Oct 24, 2013 12:43 am

I should have noted that the beginning columns are for my test job:
//TOOLSORT JOB  ,SYNCSORT,CLASS=S,MSGCLASS=1,                         
//         REGION=0M,SCHENV=JOB@ANY                                   
//*                                                                   
//********************************************************************
//STEP1    EXEC PGM=SORT                                             
//SYSOUT   DD   SYSOUT=*                                             
//SORTIN   DD *                                                       
0445000                                                               
0}57500                                                               
0L20000                                                               
//SORTOUT  DD   SYSOUT=*                                             
//SYSIN    DD   *                                                     
  SORT   FIELDS=COPY                                                 
  OUTREC IFTHEN=(WHEN=(2,1,BI,GE,208,AND,2,1,BI,LE,217),             
           OVERLAY=(1,7,ZD,MUL,-1,TO=PDC)),                           
         IFTHEN=(WHEN=NONE,                                           
           OVERLAY=(1,7,ZD,MUL,+1,TO=PDC))                           

Modify as necessary for your data.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Previous

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post