On 2018-01-12 15:37, Steve Smith wrote:
Gotcha! There's a subtle difference between BUTTBJBNI and ASCBJNI.
The former is defined as a 'D' (bogusly), and contains the actual
jobname. The latter points to the jobname, possibly to the former,
but who knows. You can't do a 1-byte test on that address, only on
the character field.
Nice auto-correct on ASSBJBNI!
ASCBJBNI and ASCBJBNS do not point to ASSBJBNI and ASSBJBNS
respectively. The pointers in the ASCB point to field CHNAME in CSCX.
Anyone with AMODE 24 code might prefer the ASCB pointers, since the CSCX
is below the line and the ASSB is above the line.
We pick up the jobname from JSABJBNM. The jobname is seldom the only
item we want, and the JSAB is a nice place to pick up several items of
interest to us. Gotta love one-stop shopping. Prior to the existence of
the JSAB, we used to use ASCBJBNI/ASCBJBNS.
--
Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN