Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS - Pseduo Conversational

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Tue Jun 21, 2005 10:02 am    Post subject: CICS - Pseduo Conversational
Reply with quote

Hi,

Q : How can you identify whether the program is Pseudo-conversational ?
Back to top
View user's profile Send private message

shannu

New User


Joined: 01 Jun 2005
Posts: 17
Location: bangalore

PostPosted: Tue Jun 21, 2005 12:29 pm    Post subject:
Reply with quote

When ever u see the below code it means that program is Psedo conversation.


Exec cics
Return transid(....)
commarea(...)
length(....)
End-exec.

If u need more clarification Please elaborate your question.
Back to top
View user's profile Send private message
jagadish2005

New User


Joined: 08 Mar 2005
Posts: 20

PostPosted: Tue Jun 21, 2005 9:32 pm    Post subject:
Reply with quote

[quote="shannu"]When ever u see the below code it means that program is Psedo conversation.


Exec cics
Return transid(....)
commarea(...)
length(....)
End-exec.

If u need more clarification Please elaborate your question.[/quote]

Hi,
I saw ur doubt . From the above code it is part of pseudo conversation for pseudo conversation in the application prog . There should one PCT , PPT enteries for one application program
Back to top
View user's profile Send private message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Wed Jun 22, 2005 8:25 am    Post subject: Re: CICS - Pseduo Conversational
Reply with quote

Hi,

I hope whatever u said is the correct.
Back to top
View user's profile Send private message
appasi

New User


Joined: 12 Dec 2005
Posts: 20
Location: Bangalore

PostPosted: Wed Dec 14, 2005 5:11 pm    Post subject: Pseudo-conversational
Reply with quote

Exec cics
Return transid(....)
commarea(...)
length(....)
End-exec.

If you find that above commond is always follows send map commond[/b]
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Wed Dec 14, 2005 5:37 pm    Post subject: Re: CICS - Pseduo Conversational
Reply with quote

Hi Saikumar,

As a follow up to the above posts, I am just adding some more explanations on the above.

Pseudoconversational Implementation in the program.

Code:
Transaction TSK1
Program PROG1

PROCEDURE DIVISION.
                :
   EXEC CICS   RECEIVE 
   END-EXEC.
               :
   EXEC CICS  SEND       
   END-EXEC.
   EXEC CICS  RETURN
      TRANSID (?TSK2?)
   END-EXEC.



Code:
Transaction TSK2
Program PROG2

PROCEDURE DIVISION.
                :
   EXEC CICS   RECEIVE 
   END-EXEC.
               :
   EXEC CICS  SEND       
   END-EXEC.
   EXEC CICS  RETURN
   END-EXEC.



Hope this helps.

NOTE

For more information search for the manuals available in our site.
Back to top
View user's profile Send private message
srini_igsi
Currently Banned

New User


Joined: 09 Dec 2005
Posts: 30
Location: Pune

PostPosted: Thu Dec 22, 2005 1:50 pm    Post subject: Re: CICS - Pseduo Conversational
Reply with quote

I think u can check for EIBCALEN check in the pgm.

correct me if am wrong.
Back to top
View user's profile Send private message
jctgf
Currently Banned

Active User


Joined: 04 Nov 2006
Posts: 109

PostPosted: Thu Dec 21, 2006 4:43 am    Post subject: help on pseudo conversational coding
Reply with quote

i am not used to pseudo conversational

from the example above i understand i need one transaction for each program

is that right?

prog1 initiates with a receive command. why?

thanks
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Dec 21, 2006 4:49 am    Post subject: Re: help on pseudo conversational coding
Reply with quote

jctgf wrote:
from the example above i understand i need one transaction for each program

Huh? Each program what?
Quote:
prog1 initiates with a receive command. why?

To recieve the map you just sent.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Thu Dec 21, 2006 3:25 pm    Post subject:
Reply with quote

Hi !

Could you Guys explain what you are discussing.

There is only one answer:

What is the differences between operation of Pseudo-Conversational and a conversational program ?

A In a conversational mode, the program accomplishes the conversation by simply sending a message to the terminal, and waiting for the user to respond, and receiving the response from the terminal. The system that sits idle without allowing an other operation while waiting for the data is called a conversational program.

In a Pseudo-Conversational program, a program attempts a conversation with a terminal user, it terminates the task after sending a message with a linkage for the next task. When the user completes the response the next task is automatically initiated. Pseudo-conversational program's uses the CICS resources such as control tables efficiently.

Hope that claryfies all.

Regards, UmeySan
Back to top
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Tue Oct 14, 2008 5:38 pm    Post subject:
Reply with quote

Hi Guyz,

My problem is regarding pseudo conversational program... I want to give option wherein a user presses PF4 then he should be thrown out of that transaction and blank cics console should come up to him . For this I am handling it like this:
WHEN EIBAID = DFHPF4
EXEC CICS
RETURN
END-EXEC
I am giving this command in my highest level program only but still its not throwing me out of that transaction.
Can somebody help me out as what mistake I am making here...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Oct 14, 2008 5:49 pm    Post subject:
Reply with quote

Right offhand, you probably need to put that code everywhere you receive a map; putting in your highest level program (whatever THAT means) doesn't necessarily do a thing if your lower level programs directly send and receive maps.
Back to top
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Tue Oct 14, 2008 7:35 pm    Post subject:
Reply with quote

My lower level programs are giving control back to main program after sending maps(as they are LINKED)...will your suggestion still holds good???
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Oct 14, 2008 8:58 pm    Post subject:
Reply with quote

This is basic CICS programming stuff, defined in the CICS Application Programmers Guide.


you might consider attending a training class in CICS or ask others
on your staff for some help in understanding.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us