Author: steve-myers
Posted: Mon Aug 01, 2016 7:12 am (GMT 5.5)
Well, that was the theory. What Phrzby left out was the concept that any program called by JCL could also be called by some other program. It might look like this -
In practice, rarely used, for several reasons.
Posted: Mon Aug 01, 2016 7:12 am (GMT 5.5)
Phrzby Phil wrote: |
The reason RC's are 0, 4, 8, ..., is because a Branch assembler language command occupies 4 bytes. The Branch commands for each condition (no error, warning, error, etc.) are adjacent in an assembler program, and a Branch on Condition branches to one of them depending on the situation, and the one branched to therefore branches to the code to handle that situation. I hope I haven't garbled this too much - it's been almost 50 years. |
Code: |
CALL XXX B *+4(15) B ... RC = 0 B ... RC = 4 B ... RC = 8 B ... RC = 12 B ... RC = 16 |
- Concern that the actual RC was not a multiple of 4.
- Concern the actual RC was greater than the size of the branch table.