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
 

 

Getting CICS Release Version No "Dynamically" ???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Getting CICS Release Version No "Dynamically" ???
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 20, 2012 1:40 pm    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Fri Apr 20, 2012 1:57 pm    Post subject: Reply to: Getting CICS Release Version No "Dynamically&
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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