10.07.2015 Views

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROBLEM 2The purpose of this program is to create invoices. The input deck is as follows:ISTOP New nameand balancemaster cardInput deckDetailed description of individual customer deckEach customer has <strong>the</strong> old master name and balance card, followed by <strong>the</strong> transactioncards, followed by a blank master name and balance card. The invoice is printed as in<strong>the</strong> example, and a new master name and balance card image is printed on <strong>the</strong> consoleprinter. Then <strong>the</strong> next customer is processed until <strong>the</strong> stop code card is reached(ISTOP in cc 1-5). In an actual situation <strong>the</strong> new card image would be punched andstacker-selected. Then, as input to <strong>the</strong> next run of <strong>the</strong> program, a new input deckwould have to be prepared.Switch settings are <strong>the</strong> same as for sample problem 1, except that output cannot bedirected toward <strong>the</strong> console printer.InputDeviceOutputDeviceSwitches0 1 21442 1132 up down down1442 1403 up up down2501 1132 up down up2501 1403 up up upMake sure that <strong>the</strong> switches are set properly before <strong>the</strong> program begins.After processing is completed, sample problem 2 will STOP with 0111 displayed in <strong>the</strong>accumulator. Press START to continue.Note: Sample Problem 2 cannot be executed if Version 1 of <strong>the</strong> Monitor is being used.-104-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!