View previous topic :: View next topic
|
Author |
Message |
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Hello Everyone!!
I am working on an automation and I have a requirement where operation team manually does this work.
manual work operation team does:
1> login to CICS region lets say they use use command L hlcopqt12.
2>They issue Command EFT1 in CICS terminal.
3>They releases one app lets say app name is apgatathah123.
I am looking to automate those above steps, how I can achieve this using batch job or JCL is there any way we can do that a sample job if anyone has would be great and any link to help me here would also appreciated. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Hello,
You could probably use the EXCI interface to achieve this with a batch job.
This requires a CICS server program and a batch program. The EXCI interface can be setup as effectively logged on and can start the EFT1 transaction. There are samples in SDFHSAMP.
I don't know what you mean by "They releases one app lets say app name is apgatathah123." How is this done?
Garry. |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Thanks for response Garry!
I have no clue about EXCI interface if you could help me with the links to study about it.
This requires a CICS server program and a batch program. The EXCI interface can be setup as effectively logged on and can start the EFT1 transaction. There are samples in SDFHSAMP.
Above statement what s SDFHSANP ??
I don't know what you mean by "They releases one app lets say app name is apgatathah123." How is this done?
This is one manual step that operation team does to release the application this is opcp scheduler concept. we can ignore this for now I will figure this out how to do this step.
If you have any sample JCl you can post here. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Hi Garry,
Appreciate your response , the link you provided there is lot theory only i read it and no any example JCL . I am looking for a JCL code which does this like" log in into CICS and execute EFT1 command. " |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Thank you Garry,
I was looking for this only however still i need to try whether it works in my sight or not. I am also looking for suggestion whether can we use rexx to achieve the same. connect to cics region and issue these commands |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Quote: |
Thank you Garry,
I was looking for this only however still i need to try whether it works in my sight or not. I am also looking for suggestion whether can we use rexx to achieve the same. connect to cics region and issue these commands |
You can issue console commands from REXX. See the REXX CONSPROF command to establish the console environment. Once that's established you can Address CONSOLE "your-console-command". You can use GETMSG to see results of the command.
The REXX userid needs access to issue the command. There is no need to logon to the CICS region.
Garry. |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Hi Garry,
The JCL did not worked for me may due to sight issue. What is the command we can use in rexx to issue EFT1 after login to cics region. I am able to login to cics region but not able to issue command. could you help here with rexx code to issue cics command? |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 736 Location: Denmark
|
|
Back to top |
|
|
|