with a one byte key You will have only 256 different records ( maybe duplicates )
Just curious but what is the business background in all this ???
I just looked at the data You provided,
and found something interesting
the key is two bytes and not one
since it is clearly an excel spreadsheet layout
case :
1) uploaded ... carry on the across computations in EXCEL
2) program generated ... have the program do the same
extreme solution
why not do everything in EXCEL ???
I do not really care for sort problems,
but I am very curious about the logic of asking and replying and providing
information about one' s problem.
and why still after 21 post the data layout is not clear
Not meant to offend, but You kept providing misleading information
Your data consistes clearly of comma/semi_colon separated values
ok for the plus sign, ok for the amount
but why in heaven You call enfp08s-pv-06 a key when
from the data You provided it is simply the separator of an EXCEL like layout
to conclude the across sum is a sum of "occurs clause" items with no key
Mi sembra che cosa vi sia dietro a questo lavoro non debba essere l'argomento del contendere.
Pensavo che, in questo luogo si potessero soddisfare curiosità ed affrontare problematiche che si possono risolvere in molti modi, a discrezione del singolo quale sia la migliore.
Mi chiedi come mai non si esegue in excel?
Se sono qui per porre domande a chi ne sa più di me, non dovresti chiederti come mai o perchè, ma aiutarmi nel risolvere, se possibile, un mio problema.
Il mio inglese non'è così evoluto da consentirmi di essere chiaro.
E soprattutto io cerco di porre un'esempio che sia sintetico, senza scendere nel particolare, perchè, vista la mia curiosità, vorrei evolvere un qualcosa mettendoci un po' del mio.
Thank you very much for your, the same for the others members, patience!!!!!!!
It works!!!!!!!
I've only one question more:
If the i/p file have occurs-100 field.
I've to write 100 of "8:8,7,ZD,EDIT=(IIIIT.TT)"
Is there any method to do this???
Me again Looks good. I believe you are quite close.
Reading this, looks like the bricks have stopped falling on me.
Quote:
I've only one question more:
If the i/p file have occurs-100 field.
I've to write 100 of "8:8,7,ZD,EDIT=(IIIIT.TT)"
Is there any method to do this???
You can do it another way, but if it is just 100, i guess you could repeat the line's and just specify the required offset.
If you really need to do it by another way then let me know the exact offset(positions) of the field to be summed.