An alternative to changing your data is to use the colon modifier to read the data using a specific informat.
You show your data with dollar signs, which are invalid in a number (valid for formats, but invalid for reading with the standard numeric format.)
So, instead of this:
input Invoice 5. Amount dollar26.2 Quantity ;
you would have
input Invoice 5. Amount : comma26. Quantity ;
The nice thing about the comma informat is that it detects dollar signs, commas and decimal points and essentially strips the dollar signs and commas from the number before storage. (It also deals with parentheses, percent signs and dashes, etc.)
If you have any more problems reading your data, your best bet might be to contact Tech Support, as there are other issues you might run into or need to put into your program (such as an INFILE statement that points to a data file instead of a CARDS statement with in-line data or an INFORMAT statement).
Also, even if you want your formatted length to be 26.2, you do NOT have to read the data with that same informat. Sometimes, specifying a decimal place holder when you read a number could cause the insertion of a decimal point where you don't want it. You have to be certain that ALL the numbers in your file have a decimal point in order to use an informat with a decimal indicator.