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
jijojohn2367
Posts: 3
Joined: Tue Jul 11, 2017 11:15 pm
Skillset: Cobol , cics, db2 , vsam , rexx
Referer: Through google.com

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.

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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) ?

jijojohn2367
Posts: 3
Joined: Tue Jul 11, 2017 11:15 pm
Skillset: Cobol , cics, db2 , vsam , rexx
Referer: Through google.com

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?

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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.

Balr14
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Skillset: Assembler, COBOL, CICS, DB2, Pl/I, JCL and tableBASE
Referer: google search

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

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

Totally irrelevant reply removed.


  • Similar Topics
    Replies
    Views
    Last post