Hi

I would like to have some help to do the particular problem using synctool.

I have two input PS

TRGE09.FIRST and TRGE09.SECOND (the record length is 10)

each PS contains a record and it contains a numerical value

and two output PS

TGRE09.OUT1 and TRGE09.OUT2 (the record length is 10)

I need to compare the fields from TRGE09.FIRST and TRGE09.SECOND

and if the first one is lesser than or equal to the second one

the first one is put into TGRE09.OUT1

or if the first one is greater than the second one

the second one is put into TRGE09.OUT2