IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Getting CICS Release Version No "Dynamically" ???


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Apr 20, 2012 1:36 pm
Reply with quote

Hi,

As per manuals, there is no way to get CICS Version dynamically. Anyone has come across this scenario by any chance? Is there any way to avoid hard coding of CICS Version in EXEC CICS Commands?
Ex:
Code:
EXEC CICS CPSM
 PERFORM(xxxx) OBJECT(xxxx) VERSION('410')
 ......
END-EXEC.

In above case, can we avoid CICS Version hard coding?

Please advise.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Apr 20, 2012 1:40 pm
Reply with quote

CEMT I SYS
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Apr 20, 2012 1:55 pm
Reply with quote

Thanks Peter.
I knew "I SYS" would display... but didn't think I could use the same in the Program to get the version number. Thanks again.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Apr 20, 2012 1:57 pm
Reply with quote

Just been googling. Are you sure it is the CICS version you want?
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Apr 20, 2012 2:14 pm
Reply with quote

Yes, I am 100% sure.

To be more specific, from CEMT I SYS, the field
Code:
[b]Cicstslevel [/b]
has 6 bytes value [vvrrmm]. I just need 4 bytes [vvrr] of that filed to be fetched in the Program.

this is becasue, CPSM CONNECT Command requires CICS Version to be provided as input.
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Apr 20, 2012 2:16 pm
Reply with quote

Can CEMT Command be coded in the batch program? I am lost/confused.
Its a master terminal based command right?
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Apr 20, 2012 2:32 pm
Reply with quote

okay.. got it.......!!!

Code:
EXEC CICS INQUIRE
         SYSTEM CICSTSLEVEL(WS-CICSVER)
END-EXEC


Guess..... this should work..!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top