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

interactive cics program using CICS send text and receive


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

New User


Joined: 05 Jan 2009
Posts: 55
Location: Dublin

PostPosted: Thu Jun 30, 2022 12:23 am
Reply with quote

Hi
Is it possible to create cics interactive program using CICS send text and receive

CICS screen

Options
1.Test1
2.Test2
3.Test3

please select option

and receive terminal data and process as per the option selected
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2905
Location: NYC,USA

PostPosted: Thu Jun 30, 2022 2:39 pm
Reply with quote

Why not maps ?
It just 80 byes text restrictions and why would you want it?
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 55
Location: Dublin

PostPosted: Thu Jun 30, 2022 3:42 pm
Reply with quote

Hi Rohit,
I could able to create the interactive program using send text and receive for a quick development for a demo.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2905
Location: NYC,USA

PostPosted: Thu Jun 30, 2022 7:53 pm
Reply with quote

But isn't send text is 80 bytes once per screen either top or at the bottom ?
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 55
Location: Dublin

PostPosted: Thu Jun 30, 2022 8:20 pm
Reply with quote

Its hit and trial which worked

I created one group variable and populate its elementary variables having length 79, next send text from the group variable. all line displayed on screen

While receiving the records I found the last record only reflected
however I used that to get the option value
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2905
Location: NYC,USA

PostPosted: Wed Jul 06, 2022 4:28 pm
Reply with quote

ibmmainframes.com/about38594.html

Okay.. but why not use maps when it’s created for interactive purpose?

Send text is only created for output purpose when you do not expect input for that , for e.g. error handling or warning messages.
www.ibm.com/docs/en/cics-ts/5.1?topic=support-text-output
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 Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts how to send 10 rows at a time to output CICS 2
No new posts Concurrent writing records to VSAM fr... JCL & VSAM 9
No new posts How can I find the DDname of a file u... CICS 10
No new posts CICS COMMAREA CICS 3
Search our Forums:

Back to Top