satish kanamarlapudi
New User
Joined: 23 Jul 2008 Posts: 29 Location: Little Rock - Arkansas
|
|
|
|
Hi,
I am getting SOC7 while adding the fileds from input file :-
Here is the input file structure :-
I want to add the fields from 397 with 11 bytes
397 is the starting byte with 11 bytes i need to add all of those ......
Code: |
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
-47.21
+0.00
-110.67
+0.00
-47.21
-182.62
+0.00
+3579.41
-894.85
+0.00
+3.50
+0.00
+8.20
+8.49
|
Here is the sort card using ICEMAN:-
Code: |
//SYSIN DD *
SORT FIELDS=(307,12,CH,A,494,02,CH,A)
OUTFIL REMOVECC,NODETAIL,
SECTIONS=(307,12,494,02,
TRAILER3=(307,12,494,02,
TOT=(397,11,ZD,EDIT=(STTTTTTTT.TT),SIGNS=(+,-))))
/*
|
Could anyone please help me out in this.
Thx,
satish |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
The values you show are NOT ZD values, so you can't use the ZD format to process them. However, you can use the SFF format to process them
Code: |
TOT=(397,11,SFF,EDIT=(STTTTTTTT.TT),SIGNS=(+,-))))
|
For more information on DFSORT's SFF format, see:
www.ibm.com/systems/support/storage/software/sort/mvs/pdug/ |
|