IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

receiving data on transaction initialization

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
View previous topic :: View next topic  
Author Message
igibull



Joined: 10 Sep 2004
Posts: 1

Posted: Fri Sep 10, 2004 8:06 pm    Post subject: receiving data on transaction initialization  

Hi

How can I get data on transaction initialization ?

Ex:
in CICS I start transaction with data

TRA1 12345 data1

TRA1 in a transaction name
12345 and data1 are data I want to get into a related program without sending or receiving map.

Thanks
Back to top  
muthukumar



Joined: 24 Mar 2004
Posts: 32

Posted: Tue Sep 14, 2004 6:31 pm    Post subject:  

Hi,

I guess the following command will suit ur need

retrieve input data from a terminal
EXEC CICS RECEIVE { INTO(data-area) | SET(pointer-ref) } { LENGTH(data-area) | FLENGTH(data-area) } [MAXLENGTH(data-value) | MAXFLENGTH(data-value)] [NOTRUNCATE] [ASIS] [BUFFER] END-EXEC.

I haven't checked it.. if some one confirms..that will be great!!!!

regards
Muthu
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM