Please assist
CR9 connecting to Oracle DB via ODBC
SAPLE DATA:
Ref Open Xfer Close From To Time@NOC
I801
I801 02Aug 01Sep 18Oct INLAND NOC1 452
I801 02Aug 05Sep 18Oct NOC1 UNIX 0
I801 02Aug 18Sep 18Oct UNIX NOC2 673
I801 02Aug 23Sep 18Oct NOC2 BASC 0
I801 02Aug 30Sep 18Oct BASC NOC3 350
I802
I802 05Aug 06Sep 28Oct UNIX NOC3 254
I802 05Aug 17Sep 28Oct NOC3 INLAND 0
I802 05Aug 10Oct 28Oct INLAND BASC 0
I802 05Aug 18Oct 28Oct BASC NOC1 71
I802 05Aug 22Oct 28Oct NOC1 NOC3 25
Data is group per Ref.
Time@NOC calculates the datediff between the time the ref spent from one NOC group to the other (in minutes).
Time@NOC = {table.xfer_date} - next({table.xfer_date})
I would like to calculate the sum(Time@NOC) per group.
Any ideas?
Joy
CR9 connecting to Oracle DB via ODBC
SAPLE DATA:
Ref Open Xfer Close From To Time@NOC
I801
I801 02Aug 01Sep 18Oct INLAND NOC1 452
I801 02Aug 05Sep 18Oct NOC1 UNIX 0
I801 02Aug 18Sep 18Oct UNIX NOC2 673
I801 02Aug 23Sep 18Oct NOC2 BASC 0
I801 02Aug 30Sep 18Oct BASC NOC3 350
I802
I802 05Aug 06Sep 28Oct UNIX NOC3 254
I802 05Aug 17Sep 28Oct NOC3 INLAND 0
I802 05Aug 10Oct 28Oct INLAND BASC 0
I802 05Aug 18Oct 28Oct BASC NOC1 71
I802 05Aug 22Oct 28Oct NOC1 NOC3 25
Data is group per Ref.
Time@NOC calculates the datediff between the time the ref spent from one NOC group to the other (in minutes).
Time@NOC = {table.xfer_date} - next({table.xfer_date})
I would like to calculate the sum(Time@NOC) per group.
Any ideas?
Joy