IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we use INPUTMSG to store working storage data


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srikanthkailasam

New User


Joined: 13 Nov 2006
Posts: 24
Location: Bengalooru

PostPosted: Tue Oct 23, 2007 5:09 pm
Reply with quote

Can we use INPUTMSG to store working storage data???
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Oct 23, 2007 5:23 pm
Reply with quote

What is "INPUTMSG"?
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Tue Oct 23, 2007 8:18 pm
Reply with quote

inputmsg is to pass input data to a terminal based program, that normally
expects to RECEIVE input from terminal
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Oct 23, 2007 9:28 pm
Reply with quote

Then I guess the answer is "yes", once you "recieve" the data......
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Tue Oct 23, 2007 10:18 pm
Reply with quote

I've never used to pass working storage data, but suppose you could, if
the 'receiver' program is aware.

Normally, I've used in front'-ending applications, like outside vendor
products.



more info on inputmsg at>>
publib.boulder.ibm.com/infocenter/txformp/v6r0m0/index.jsp?topic=/com.ibm.cics.te.doc/erziah0047.htm
Back to top
View user's profile Send private message
TG Murphy

Active User


Joined: 23 Mar 2007
Posts: 148
Location: Ottawa Canada

PostPosted: Wed Oct 24, 2007 1:05 am
Reply with quote

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
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Oct 24, 2007 1:09 am
Reply with quote

yes, simliar to passing commarea storage, but is considered
terminal input to the receiving program.
Back to top
View user's profile Send private message
srikanthkailasam

New User


Joined: 13 Nov 2006
Posts: 24
Location: Bengalooru

PostPosted: Wed Oct 24, 2007 10:26 am
Reply with quote

thanks..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top