Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sending data to the front-end (COBOL/CICS)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
dirceu.alves

New User


Joined: 03 Aug 2005
Posts: 17

PostPosted: Wed Aug 03, 2005 3:21 am    Post subject: Sending data to the front-end (COBOL/CICS)
Reply with quote

Hello,

We are developing programs in COBOL/CICS and we're having a problem 'cause the programs may be called by the front-end applications.

To receive the data we're using the RECEIVE command (that's OK), but when we have to send back the data, we're having problems with the SEND TEXT command (it seems to me it doesn't working).

Is SEND TEXT the right command to send back the data to the front-end?

Thanks
Back to top
View user's profile Send private message

vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Sat Aug 06, 2005 3:57 am    Post subject: Hi
Reply with quote

If I am wrong please correct me.

exec cics send and the send command will be followed by theexec cics return comand right.
Back to top
View user's profile Send private message
dirceu.alves

New User


Joined: 03 Aug 2005
Posts: 17

PostPosted: Sun Aug 07, 2005 1:54 am    Post subject: Re: Hi
Reply with quote

vijayamadhuri wrote:
If I am wrong please correct me.

exec cics send and the send command will be followed by theexec cics return comand right.


Yes, of course we're using EXEC CICS RETURN after the SEND command.

The problem is: the data isn't returning to the front-end, that's why I want to know which command I have to use to send back the data.

Thanks anyway...
Back to top
View user's profile Send private message
manjun

New User


Joined: 13 Jul 2005
Posts: 4

PostPosted: Tue Aug 09, 2005 5:21 pm    Post subject:
Reply with quote

I did not get what you are trying to send via send-text.


Here is the sample CICS statements for receiving and sending.
this is just a sample.

POIM400 is map name.
For receiving data:
EXEC CICS RECEIVE
MAP('POIM400')
MAPSET('POIM400')
INTO(POIM400I)
END-EXEC.

For Sending data
EXEC CICS SEND
MAP('POIM400')
MAPSET('POIM400')
FROM(POIM400O)
CURSOR
ERASE
END-EXEC

EXEC CICS RETURN
TRANSID('NOI4')
COMMAREA(C-PARMS)
LENGTH(200)
END-EXEC.


Regards
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us