View previous topic :: View next topic
|
Author |
Message |
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
CEMT I SYS |
|
Back to top |
|
|
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Just been googling. Are you sure it is the CICS version you want? |
|
Back to top |
|
|
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
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 |
|
|
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
Can CEMT Command be coded in the batch program? I am lost/confused.
Its a master terminal based command right? |
|
Back to top |
|
|
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
okay.. got it.......!!!
Code: |
EXEC CICS INQUIRE
SYSTEM CICSTSLEVEL(WS-CICSVER)
END-EXEC |
Guess..... this should work..!!! |
|
Back to top |
|
|
|