Page 1 of 1

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

PostPosted: Tue Jul 11, 2017 11:21 pm
by jijojohn2367
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.

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

PostPosted: Tue Jul 11, 2017 11:53 pm
by Robert Sample
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) ?

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

PostPosted: Wed Jul 12, 2017 11:38 pm
by jijojohn2367
Hi Robert

Sure I will try. In this case the EIBCALEN will be zero?

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

PostPosted: Wed Jul 12, 2017 11:54 pm
by Robert Sample
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.

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

PostPosted: Tue Jan 30, 2018 9:48 am
by Balr14
Totally irrelevant reply removed.