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

CICS - Pseduo Conversational


IBM Mainframe Forums -> CICS
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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
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
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
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
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: 411
Location: Colarado, US

PostPosted: Wed Dec 14, 2005 5:37 pm
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
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
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: 3156
Location: Tucson AZ

PostPosted: Thu Dec 21, 2006 4:49 am
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: 771
Location: Germany

PostPosted: Thu Dec 21, 2006 3:25 pm
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
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: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 14, 2008 5:49 pm
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
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
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts How to Login in to cics region and is... CICS 9
No new posts Spoolopen cics CICS 0
Search our Forums:

Back to Top