You can do a LISTDSI clist command. IF &SYSEADSCB EQ 'YES' then it is extended addressability (F8/F9 DSCBs). https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ikjb800/a26230.htm
You can do an IDCAMS DCOLLECT statement for the dataset. Bit DCAG4G (x'04' in DCAFLAG2 offset 113(X'71') for record type 'A ') is 1 for extended addressability. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.idai200/recstr.htm Without extended addressability, the limit is 4GB on all volumes. With extended extended addressability, you can have 4G Control Intervals. 0.5KB would be 2TB, 16KB with max of 59 volumes with current 1TB volumes is 59TB. 32KB with future 4TB volumes will be 128TB. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.idad400/d4003.htm Assembler macros do not have this information defined in them. On Sun, Apr 2, 2017 at 2:21 AM, Monika Amiss <[email protected]> wrote: > Dear Group. > > In my assembler program I want to get aware if my opened vsam dataset is > defined for extended addressing (>4GB) or not. How can I do this. Any hint > appreciated > > With best regards > Monika > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
