DSECT macro to map VSAM ACB.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
RyanFox
Registered Member
Posts: 52
Joined: Sat Jun 15, 2013 12:54 pm

DSECT macro to map VSAM ACB.

Post by RyanFox »

Hello,

I am looking for a mapping macro so as to avoid re-inventing the wheel. Pardon me if some fine manual has the answer. I actually looked in "DFSMS
Macro Instructions for Data Sets" but could not get something fruitful to go ahead.

Do you think there a DSECT macro that maps to VSAM ACB MACR1, MACR2, MACR3 and MACR4?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1905
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa

Re: DSECT macro to map VSAM ACB.

Post by Robert Sample »

Have you looked at IFGACB in SYS1.MODGEN?

Google is your friend -- I found this by Googling acb macro and it was one of the early hits.
RyanFox
Registered Member
Posts: 52
Joined: Sat Jun 15, 2013 12:54 pm

Re: DSECT macro to map VSAM ACB.

Post by RyanFox »

Thanks Robert.

Looked at SYS1.MODGEN and then at SYS1.MACLIB. Just wondering why the macros are divided between these two libraries and why are not placed in one only?
User avatar
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 855
Joined: Wed Sep 11, 2013 3:57 pm

Re: DSECT macro to map VSAM ACB.

Post by enrico-sorichetti »

historic reasons,
SYS1.MACLIB content was thought for normal programming tasks

SYS1.MODGEN constains SYSTEM programming related macros.

once upon time its content was not even <installed> on the running system
and system programmers were forced to use SYS1.AMODGEN - the distribution library
and more than often - disk space constraints - the distribution libraries were not <online> but backed up to tape
with a bit of trouble for the sysprogs who needed them
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”