How to update the Position automatically after everyrun?



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

How to update the Position automatically after everyrun?

Postby pjagathis » Thu Dec 01, 2011 5:18 pm

Hi all,

I want to match the two files and for matched records i want to overlay One FIELD from File2 to File1...

After every RUN, the Overlaying field will be offset by 10 bytes..
For example ,

for first run file 1 - overlay field - 10-10
for second run file1 - overlay fields- 20-10

but the offset value will be fixed.. as 10..

Please help me to update the position in OUTREC automatially.
Thanks and Regards,
Jagathis P
pjagathis
 
Posts: 67
Joined: Wed May 04, 2011 5:04 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Re: How to update the Position automatically after everyrun?

Postby MrSpock » Thu Dec 01, 2011 5:34 pm

I imagine that you're going to have to store the last position, or the next position, in a dataset so it can be acessed between runs, or, maybe somewhere within one of your two input datasets. What's your plan?
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: How to update the Position automatically after everyrun?

Postby BillyBoyo » Thu Dec 01, 2011 6:03 pm

We need a much fuller description of what you are trying to do.

Including, for instance, what to do when you "run out" of record.

How you ensure the integrity of the position from the previous day (so that you do not overwrite existing data, or put data elsewhere to be overwritten later).

I'd already expect you to want to write a program to do this, rather than trying to get everything into the sort....
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post