View previous topic :: View next topic
|
Author |
Message |
saikumar
New User
Joined: 21 Jun 2005 Posts: 8 Location: INDIA
|
|
|
|
Hi,
Q : How can you identify whether the program is Pseudo-conversational ? |
|
Back to top |
|
|
shannu
New User
Joined: 01 Jun 2005 Posts: 17 Location: bangalore
|
|
|
|
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 |
|
|
jagadish2005
New User
Joined: 08 Mar 2005 Posts: 20
|
|
|
|
[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 |
|
|
saikumar
New User
Joined: 21 Jun 2005 Posts: 8 Location: INDIA
|
|
|
|
Hi,
I hope whatever u said is the correct. |
|
Back to top |
|
|
appasi
New User
Joined: 12 Dec 2005 Posts: 20 Location: Bangalore
|
|
|
|
Exec cics
Return transid(....)
commarea(...)
length(....)
End-exec.
If you find that above commond is always follows send map commond[/b] |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
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 |
|
|
srini_igsi Currently Banned New User
Joined: 09 Dec 2005 Posts: 30 Location: Pune
|
|
|
|
I think u can check for EIBCALEN check in the pgm.
correct me if am wrong. |
|
Back to top |
|
|
jctgf Currently Banned Active User
Joined: 04 Nov 2006 Posts: 109
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
|