No good reason. I was flailing around trying to find something that works. If I remove it, the results are identical - the sum in the last record is still the same bogus number.
Regards, Richard Schuh > -----Original Message----- > From: CMSTSO Pipelines Discussion List > [mailto:[email protected]] On Behalf Of Kris Buelens > Sent: Wednesday, March 04, 2009 11:39 AM > To: [email protected] > Subject: Re: 407 Help > > Why do you use SELECT SECOND? > > 2009/3/4, Schuh, Richard <[email protected]>: > > > > I have a file from which I have extracted data. I am > passing this data > > through the following seemingly simple specs stage: > > > > '| spec select second a: 1.8 1 b: w2 . c: w3 .', > > 'set #0:=b+c print #0 picture zzzz9 11', > > > > With the idea of having the output of the stage include the > first word > > of the input in columns 1-8 and the sum of the second and > third words > > in columns 11-15. This works fine for all input records > except the last. > > The first word is correct, but the second seems quite arbitrary, > > usually orders of magnitude larger than the sum should be. One > > example, 585 instead of 17. I have also seen numbers in the tens of > > thousands when the actual totals were under 1000. What did > I do wrong > > and how can I correct the plug-board? > > > > > > Regards, > > > > Richard Schuh > > > > > > -- > Kris Buelens, > IBM Belgium, VM customer support >
