Losing data when inserting data into record



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

Losing data when inserting data into record

Postby ctrevino » Tue Oct 05, 2010 9:26 pm

Here is the original data record.

         1         2         3         4         5         6
    5    0    5    0    5    0    5    0    5    0    5    0
.FHS|¬~\&|FLDOCOBIS|FLDOC¬FLDOCMEDICAL|||201009300848||||||.

Code'd

I am trying to get this

.FHS|¬~\&|FLDOCOBIS|FLDOC¬FLDOCMEDICAL|UOFFL|UOFFL|201009300848||||||.

But I am getting this:

.FHS|¬~\&|FLDOCOBIS|FLDOC¬FLDOCMEDICAL|UOFFL|UOFFL|48||||||.

This is the input I am using:
//SYSIN    DD *                                                 
    SORT FIELDS=COPY                                             
  OUTREC  IFTHEN=(WHEN=(2,3,CH,EQ,C'FHS'),                       
          BUILD=(1:1,39,40:C'UOFFL',45:10,1,46:C'UOFFL',51:10,1,
          52:52,25))                                             
/*                                                               
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Losing data when inserting data into record

Postby dick scherrer » Tue Oct 05, 2010 11:26 pm

Hello,

Maybe start in 42 rather than 52?
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: Losing data when inserting data into record

Postby ctrevino » Tue Oct 05, 2010 11:52 pm

Thanks, Dick.

I have been functioning in an allergy fog today. Lots of these DUH moments.

Sorry to bug you,.......again!
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Losing data when inserting data into record

Postby dick scherrer » Wed Oct 06, 2010 2:07 am

You're welcome :)

Sorry to bug you,.......again!
Surely not a problem 8-)

Be well,

d
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