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
 
Accessing CICS tran with map from JCL/Batch program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
navdeepaggarwal

New User


Joined: 29 Sep 2017
Posts: 2
Location: India

PostPosted: Tue Oct 03, 2017 6:15 pm    Post subject: Accessing CICS tran with map from JCL/Batch program
Reply with quote

Hey All,

I wish to access my existing CICS program (with BMS map) from a JCL/batch program. The CICS program takes a user ID and keystroke (like F1,F3 or ENTER) as input.

So is it possible to accomplish the same using JCL ?

My support team had told me to use EXCI call but they are not sure of how to handle the BMS programs with batch program.

Thanks in Advance
Navdeep
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Oct 03, 2017 11:49 pm    Post subject: Reply to: Accessing CICS tran with map from JCL/Batch program
Reply with quote

It is not clear how you expect to pass a PF1 or PF3 key (for example) from the batch program to the CICS program. Nor is it clear what you expect the BMS map to be displayed on since a batch program rarely has a terminal associated with it. While CICS does support batch terminals (Google sequential terminal support for more details) and even BMS sequential terminals, you would have to do a lot of testing to see if what you want to do will work.

The general answer is, depending upon what your program does and how the BMS map(s) is(are) used, what you want to do may -- or may not -- be possible. It is unlikely that anyone on this forum has done exactly what you want to do, so you are unlikely to find much help on this -- or any -- forum.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1806
Location: NY,USA

PostPosted: Wed Oct 04, 2017 8:44 pm    Post subject:
Reply with quote

What is the need to use MAPs in batch?
Quote:
So is it possible to accomplish the same using JCL ?
You need to explain more what is that you want to achieve, forget leveraging existing CICS code for a moment.
Back to top
View user's profile Send private message
navdeepaggarwal

New User


Joined: 29 Sep 2017
Posts: 2
Location: India

PostPosted: Thu Oct 05, 2017 11:58 pm    Post subject:
Reply with quote

@Robert I wish to reuse my existing BMS program instead of writing a new program for same purpose.

But the requirement is so that I need to trigger my BMS program with a batch program but I am not sure how shall I pass on input to BMS program from my batch program (like PF1 or PF3 etc).

@Rohit My BMS program is already having a map and since I want to reuse my BMS program from my new batch program, so I need to device a method to handle maps with the batch program.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1806
Location: NY,USA

PostPosted: Fri Oct 06, 2017 12:02 am    Post subject:
Reply with quote

What you need is to bypass the maps routine and use the rest of the logic..that's what I get it. so you need to modify it to have it for both CICS and batch.
But what is the harm of having brand new batch program and mimic the logic you need it from the cics program?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Oct 06, 2017 7:32 am    Post subject: Reply to: Accessing CICS tran with map from JCL/Batch program
Reply with quote

As far as I am aware, you can interface CICS and batch through the EXCI interface (for example). However, I have never heard (in 40+ years of dealing with mainframes and CICS) of any way to interact with maps in a batch job. I've seen products that allow you to display a map in batch, but those products will not allow you to interact with the map; it is display only.
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 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