How to pass a value along with CICS transaction ID ??



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

How to pass a value along with CICS transaction ID ??

Postby jijojohn2367 » Tue Jul 11, 2017 11:21 pm

I have a query in CICS,

Can someone please explain how to pass a value along with CICS transaction ID from terminal to a COBOL program when we are invoking the Tran id for the first time?

E.g : TRN1 123456578915

This TRN1 will invoke a program from PCT, inside that program I would like to receive the value '123456578915' and continue the process based on this value.
jijojohn2367
 
Posts: 3
Joined: Tue Jul 11, 2017 11:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to pass a value along with CICS transaction ID ??

 

Re: How to pass a value along with CICS transaction ID ??

Postby Robert Sample » Tue Jul 11, 2017 11:53 pm

Have you tried clearing the screen, typing TRN1 123456578915 and then having the CICS program TRN1 points to issue an EXEC CICS RECEIVE INTO (or SET) ?
Robert Sample
Global moderator
 
Posts: 3624
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 267 times

Re: How to pass a value along with CICS transaction ID ??

Postby jijojohn2367 » Wed Jul 12, 2017 11:38 pm

Hi Robert

Sure I will try. In this case the EIBCALEN will be zero?
jijojohn2367
 
Posts: 3
Joined: Tue Jul 11, 2017 11:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to pass a value along with CICS transaction ID ??

Postby Robert Sample » Wed Jul 12, 2017 11:54 pm

Yes, it will be zero since this is the initial transaction invocation so you could not have passed a DFHCOMMAREA to the program. Note that RECEIVE does not involve any maps -- it reads the data from the screen and passes it to the program.
Robert Sample
Global moderator
 
Posts: 3624
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 267 times

Re: How to pass a value along with CICS transaction ID ??

Postby Balr14 » Tue Jan 30, 2018 9:48 am

Totally irrelevant reply removed.
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post