Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2442
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: 7315

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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us