View previous topic :: View next topic
|
Author |
Message |
srikanthkailasam
New User
Joined: 13 Nov 2006 Posts: 24 Location: Bengalooru
|
|
|
|
Can we use INPUTMSG to store working storage data??? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
What is "INPUTMSG"? |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
inputmsg is to pass input data to a terminal based program, that normally
expects to RECEIVE input from terminal |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Then I guess the answer is "yes", once you "recieve" the data...... |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
Back to top |
|
|
TG Murphy
Active User
Joined: 23 Mar 2007 Posts: 148 Location: Ottawa Canada
|
|
|
|
INPUTMSG is for passing parameters - it is not meant for long-term storage.
Think of it like the COMMAREA that you pass on a LINK statement.
Example:
05 WS-INPUTMSG PIC X(11) VALUE "CESF LOGOFF".
EXEC CICS
RETURN TRANSID("CESF")
INPUTMSG(WS-INPUTMSG)
INPUTMSGLEN(LENGTH OF WS-INPUTMSG)
IMMEDIATE
END-EXEC |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
yes, simliar to passing commarea storage, but is considered
terminal input to the receiving program. |
|
Back to top |
|
|
srikanthkailasam
New User
Joined: 13 Nov 2006 Posts: 24 Location: Bengalooru
|
|
|
|
thanks.. |
|
Back to top |
|
|
|