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.

Sample Problem 2: Detailed Description1. Read all constant information and determine output unit (1132 or 1403).2. Initialize error indicators.a. J=2b. I=0, L=0, M=03. Read <strong>the</strong> first card. It should be a master card.4. Is <strong>the</strong> card read in 3 <strong>the</strong> last card?No — 5 Yes — 645. Is <strong>the</strong> card read in 3 above a master card?No 72 Yes — 66. Go to <strong>the</strong> top of a new page.7. Clear <strong>the</strong> print area.8. Print <strong>the</strong> customer name.9. Move <strong>the</strong> edit mark to <strong>the</strong> work area.10. Edit <strong>the</strong> previous balance.11. Print <strong>the</strong> customer street address.12. Move <strong>the</strong> words PREVIOUS BALANCE to <strong>the</strong> print area.13. Move <strong>the</strong> work area to <strong>the</strong> print area.14. Print <strong>the</strong> customer city, state, and zip code.15. Skip 3 lines.16. Print <strong>the</strong> column headings.17. Print <strong>the</strong> print area.18. Clear <strong>the</strong> print area.19. Convert <strong>the</strong> previous balance from Al format to decimal format.

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

Saved successfully!

Ooh no, something went wrong!