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

How to Login in to cics region and issue command on CICS.


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

Active User


Joined: 20 Apr 2022
Posts: 145
Location: India

PostPosted: Tue Oct 01, 2024 7:58 am
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1202
Location: Dublin, Ireland

PostPosted: Tue Oct 01, 2024 12:49 pm
Reply with quote

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
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 145
Location: India

PostPosted: Tue Oct 01, 2024 2:36 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1202
Location: Dublin, Ireland

PostPosted: Tue Oct 01, 2024 3:51 pm
Reply with quote

Hi,

**.SDFHSAMP is a library of samples supplied with CICS by IBM. High level qualifiers are site-dependent.

Information on using the EXCI Interface is available at:
www.ibm.com/docs/en/cics-ts/5.6?topic=interfaces-external-cics-interface


Garry.
Back to top
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 145
Location: India

PostPosted: Tue Oct 01, 2024 4:53 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1202
Location: Dublin, Ireland

PostPosted: Tue Oct 01, 2024 6:35 pm
Reply with quote

If your site allows, you could issue console modify command using IEFBR14 to start EFT1

//MYCMD JOB MSGCLASS=A,CLASS=
// COMMAND 'F cics-region-name,EFT1
//STEP1 EXEC PGM=IEFBR14

www.ibm.com/docs/en/integration-bus/9.0.0?topic=zos-issuing-commands-console

My site doesn't allow this, so I hadn't mentioned it.

Garry.
Back to top
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 145
Location: India

PostPosted: Tue Oct 01, 2024 6:53 pm
Reply with 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
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1202
Location: Dublin, Ireland

PostPosted: Tue Oct 01, 2024 7:59 pm
Reply with quote

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
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 Passing containers on START command CICS 4
No new posts Spoolopen cics CICS 0
No new posts Check if CICS is online in JCL CICS 10
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:

Back to Top