Condensed Consolidated Statement of Cash Flows (Unaudited) (USD $)
In Millions
6 Months Ended
Apr. 30, 2011
Apr. 30, 2010
Cash flows from operating activities:    
Net income $ 393 $ 187
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 127 75
Share-based compensation 44 38
Deferred taxes 38 45
Excess and obsolete and inventory-related charges 13 13
Asset impairment charges 5 20
Net loss (gain) on sale of assets and investments (4) 4
Other 4 0
Changes in assets and liabilities:    
Accounts receivable (26) (93)
Inventory (139) (17)
Accounts payable (19) 55
Employee compensation and benefits 14 18
Other assets and liabilities 48 (90)
Net cash provided by operating activities 498 255
Cash flows from investing activities:    
Investments in property, plant and equipment (89) (54)
Proceeds from sale of property, plant and equipment 0 1
Proceeds from sale of investments 14 8
Proceeds from divestiture, net of cash divested 0 20
Acquisitions of businesses and intangible assets, net of cash acquired (96) (12)
Change in restricted cash and cash equivalents, net 1,545 4
Net cash provided by (used in) investing activities 1,374 (33)
Cash flows from financing activities:    
Issuance of common stock under employee stock plans 204 224
Repayment of debt (1,500) (15)
Treasury stock repurchases (270) (265)
Net cash used in financing activities (1,566) (56)
Effect of exchange rate movements 20 1
Net increase in cash and cash equivalents 326 167
Cash and cash equivalents at beginning of period 2,649 2,479
Cash and cash equivalents at end of period $ 2,975 $ 2,646