On 22 May 2014 19:23, Ed Jaffe <[email protected]> wrote: > On 5/22/2014 4:17 PM, Charles Mills wrote: >> >> Is there a DSECT macro that maps VSAM ACB MACR1, MACR2, MACR3 and MACR4? >> Roughly analogous to DCBD? Or is SHOWCB, etc., the only supported interface? > > IFGACB? Or do you need something else?
IFGACB and DCBD (or rather, their respective control blocks themselves) are a little unusual in that they share a lot of layout, and various pointers such as DEBDCBAD can point to either. So there is a flag, at a common location obviously, that indicates which control block you have. In the DCB it's DCBACBM in DCBDSRG2, and in the ACB it's ACBDORGA in ACBDSOR2. Both are value X'08' at offset X'1B'. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
