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
 
TERMIDERR in CICS

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

New User


Joined: 18 Jun 2008
Posts: 25
Location: india

PostPosted: Mon Mar 18, 2013 1:54 pm    Post subject: TERMIDERR in CICS
Reply with quote

I am trigerring a CICS transaction through Batch.In program EIBTRMID value is spaces.

So i used the below command to get the TERMINAL ID.

EXEC CICS INQUIRE
TERMINAL (WS-TERM-ID)
NETNAME (WS-PRINT-NETNAME)
RESP (WS-RESP)
END-EXEC

But i am getting TERMIDERR.Please can anyone advise.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Mon Mar 18, 2013 2:01 pm    Post subject: Reply to: TERMIDERR in CICS
Reply with quote

Quote:
So i used the below command to get the TERMINAL ID.


based on what additional info ???

wiser to review the INQUIRE command objective, parameters, returned values

for example here
http://pic.dhe.ibm.com/infocenter/cicsts/v4r1/index.jsp?topic=%2Fcom.ibm.cics.ts.doc%2Fdfha8%2Fcommands%2Fdfha8_inquireterminal.html

and ... wht is that is not clear in the manuals explanation for TERMIDERR ???


Quote:
TERMIDERR
RESP2 value:
1
The named terminal cannot be found.
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: Mon Mar 18, 2013 2:35 pm    Post subject:
Reply with quote

If you are running a CICS transaction from batch, what terminal is that batch job connected to? Once you answer that question, you will -- or SHOULD -- understand why EIBTRMID is spaces and why your INQUIRE TERMINAL failed.
Back to top
View user's profile Send private message
rashmirgowda

New User


Joined: 18 Jun 2008
Posts: 25
Location: india

PostPosted: Mon Mar 18, 2013 3:49 pm    Post subject: TERMIDERR in CICS
Reply with quote

How to find the teminal connected to batch? can you please give some idea on this
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Mar 18, 2013 4:09 pm    Post subject: Reply to: TERMIDERR in CICS
Reply with quote

I guess it is going to depend on which desk the batch initiators chose to sit at that morning.

Seriously, how do you feel a "terminal" might be involved with a batch job?
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: Mon Mar 18, 2013 5:06 pm    Post subject:
Reply with quote

rashmirgowda: the point that you have completely missed so far is that, unless something special is done, a batch invocation of a CICS program runs unattached to a terminal. Hence, there will be spaces in the EIBTRMID variable and using EXEC CICS INQUIRE TERMINAL is going to return TERMIDERR.

The results you are getting are normal and expected for what you are doing. If you want different results, you will need to research "batch terminal" in the CICS bookshelf or Information Center for your release of CICS. And using a batch terminal may well require you to get your CICS support group involved if your site is not currently set up to use batch terminals.
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 FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

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