Home > CICS, CICS TS, Howto, MVS, SDSF, VTAM > Quick how to – CICS applid not (yet) active to VTAM and running CICS transactions from SDSF

Quick how to – CICS applid not (yet) active to VTAM and running CICS transactions from SDSF

Everyone has things in their lives that annoy them but instead of working on a solution, they just live with it because they either haven’t thought about it or the workaround is quick enough that it doesn’t really matter that much.

Since I started in CICS almost 5 years ago (has it been that long already!) I’ve always just accepted that if I’d forgotten to activate my VTAM applids before I brought a CICS region up, the quickest course of action was just to activate my applids and restart CICS. Now, I had always just assumed that there was a better way of doing that but there was always something else more important to worry about. So, no idea what we were discussing at the time, but somehow Grant managed to slip the solution to this one into our conversation. Now I am sure this is just the most obvious thing in the world to most of our readers but I thought I’d share the solution anyway.

So the problem, you bring up CICS and you spot in the JESYSMSG log:

DFHSI1592  XXXXXXXX CICS applid not (yet) active to VTAM.               
DFHSI1572  XXXXXXXX Unable to OPEN VTAM ACB - RC=00000008, ACB Code=5A.

You utter an unrepeatable curse (just loud enough so that the colleague next to you raises his head, but not so loud that the sysprog overhears you and starts revoking your privileges) and dig out that SDSF command for activating your applids. Or if you are not the sysprogs drinking buddy, submit a ticket or offer baked goods, liquid refreshments or anything else that might be accepted as payment in kind.

Now normally, this is where I would kill/cancel/purge bring my CICS region gracefully to it knees and restart so everything comes back up and CICS successfully re-opens my VTAM ACB. Now, however armed with our new-found solution, we can simply just go to our SDSF panel and run the command:

/f <CICS region jobname>,cemt set vtam open

Marvelous eh! Now depending on your setup, you are now:

  1. Annoyed that you read all the way down the post just to find out something that obvious
  2. Celebrating this wonderful insight and are off to tell all your CICS friends how wonderful the blog is
  3. Once again uttering unrepeatable curses at your 3270 emulator

For those who are experiencing 1 or 2. Thanks for reading! 🙂

For those now cursing, please read on. I’m assuming you just received the following message on SDSF:

+DFHAC2015  XXXXXXXX Console <userid> has not been defined to CICS. Input is ignored.

To be able to communicate with CICS from SDSF, you need to install a terminal into the CICS region with the CONSNAME attribute set to that of your TSO userid. You can find out a little more on how to define this here:


Remember to add your terminal definition into one of the lists defined on the GRPLIST SIT parameter on your CICS region so it actually gets installed. Sadly, this is one of those problems that can only be solved if you have already created the required definitions. With your trusty terminal now added, you should be safe to repeat the steps above. If all goes well you should see something like:

 Openstatus( Open )                                      
 Psdinterval( 000000 )                                   
 Grstatus(              )                                
Categories: CICS, CICS TS, Howto, MVS, SDSF, VTAM
  1. Grant
    March 8, 2010 at 10:21 am

    Chris, how could you have forgotten the best way of all…. CICS Explorer! Go to the CICS Region Tab, open up the detailed Attributes, and change VTAM Status.

    You can also use Console Autoinstall

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: