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 3The purpose of this program is to print a payroll register and punch a new year-to-datecard for each employee. The input deck is as follows:Input deckEmployee deckThe year-to-date and current cards are read and processed. The payroll register isprinted as in <strong>the</strong> example, and a new year-to-date card image is printed on <strong>the</strong> consoleprinter. Then <strong>the</strong> next employee is processed.As is shown, <strong>the</strong> order of <strong>the</strong> year-to-date card and current card is not known before<strong>the</strong> cards are read.Switch settings are as follows:InputDeviceOutputDeviceSwitches0 1 21442 console printer down down down1442 1132 up down down1442 1403 up up down2501 console printer down down up2501 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 3 will STOP with 3333 displayed in <strong>the</strong>accumulator. Press START to continue.A general purpose *IOCS card has been supplied with <strong>the</strong> sample problem. If this doesnot match <strong>the</strong> <strong>1130</strong> configuration to be used, a new *IOCS card will be required.*IOCS (CARD, 1132 PRINTER, TYPEWRITER)116

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

Saved successfully!

Ooh no, something went wrong!