Mistakes like this are all to easy to make. One way to avoid them is to code like this -
TAB DSECT
...
TABSIZE EQU *-TAB
TABLE DC 32CL(TABSIZE)' '
...
TABSIZE EQU *-TAB
TABLE DC 32CL(TABSIZE)' '
pintu1228 wrote:... So the reason I have declared the lengths is the professor wants us to learn this way. ...
pintu1228 wrote:... As for the PRINT subroutine how do I print the table and title (sales report)?
Do I have to declare anything in storage to make it print Customer ID, Product ID, etc?
Actually, not. It's obviously not processing the first table entry.pintu1228 wrote:...I have figured out the Compute subroutine and it works fine