Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why ACB is required for online region.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 137
Location: Coimbatore

PostPosted: Thu Dec 03, 2009 10:00 am    Post subject: Why ACB is required for online region.
Reply with quote

As I knew there are 3 types of control blocks DBD,PSB,ACB.

DBD(Data Base Descriptor or Decription) specifies Physical
structure of an IMS database.
PSB ( Program Specification Block) Specifies Logical
Structure of an IMS database.
ACB The combination of DBD and PSB is nothng but ACB
(Application Control Block).

Can anybody please let me know why Online region alone requires an ACB and why not for a batch application (DL/I)?.

Also usually for batch aplication we specify the PSB we use near DFSCRC00 but for Online as it is combined in ACB could you please help me to identify where the library would be defined for online application.???????
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 03, 2009 10:29 am    Post subject:
Reply with quote

ACB can have 2 types :

1. Dynamic: Which is used for IMS DB programs as the ACB
constructs at run time by giving respective DBDGEN and
PSBGEN.
2. Static : Which is used for IMS DC programs as the ACB
need to be created before executing the IMS DC program.
Back to top
View user's profile Send private message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 137
Location: Coimbatore

PostPosted: Thu Dec 03, 2009 12:00 pm    Post subject: Reply to: Why ACB is required for online region.
Reply with quote

Hi,

Thanks for your reply.

Suppose if I don't use ACB for IMSDC and if I use only DBDGEN, PSBGEN will my IMSDC application work fine?.

Also like batch we give the library in the jcl, for IMSDC if ACB is necessary, whether it would be given in the format library internally?.
If not could you please how and where it will be defined?

Thanks
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Thu Dec 03, 2009 12:45 pm    Post subject:
Reply with quote

ACB is a consolidation of PSB and DBD information.

• For online programs
ACBs must be prebuilt using the ACBGEN utility i.e., ACBGEN must
be run which will merge DBD and PSB and generate ACB.

• For batch programs
ACBs can be generated either at execution time
(dynamically using IMS.DBDLIB and IMS.PSBLIB as input (PARM=DL/I))
or ahead of time (prebuilt ACB from IMS.ACBLIB can be used (PARM=DBB)).

ACB's are part of IMSDC (you cant run IMSDC without an ACBLIB).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us