View previous topic :: View next topic
|
Author |
Message |
sandiagee
New User
Joined: 15 Dec 2004 Posts: 4 Location: india
|
|
|
|
FILE HAS SOME RECORDS HAVING NUMERIC FIELD.
I WANT TO SUM UP THESE FIELDS USING JCL ONLY....
I FIND ONE OPTION AS
SUM FIELDS=NONE
BUT I AM NOT VERY SURE ABOUT IT'S APPLICATION IN PROGRAMMING.
PLEASE HELP ME OUT AS SOON AS POSSIBLE..IT'S URGENT... |
|
Back to top |
|
|
lramani
New User
Joined: 03 Nov 2004 Posts: 21 Location: NOIDA, India
|
|
|
|
hi sandiagee,
The SUM FIELDS=NONE that u r talking about will remove Duplicates.
u could use SUM FIELDS=(N1,N2,ZD)
N1= position
N2= length |
|
Back to top |
|
|
sandiagee
New User
Joined: 15 Dec 2004 Posts: 4 Location: india
|
|
|
|
HI..
Thanks for your valuable answer.
we have tried with this...and got another query...
How to see the output of sum then..
Cause we are specifing any output variable which can store this Sum.
Can u send entire JCL?
Thanks,
Sandy. |
|
Back to top |
|
|
|