View previous topic :: View next topic
|
Author |
Message |
rakeshnaredlla
New User
Joined: 04 Aug 2008 Posts: 26 Location: Hyderabad
|
|
|
|
Hi,
I have a doubt on PPT entries.
I have CICS program which is calling another sub-progran of CICS using call verb and the sub-program getts called dynamically.
Ex:
PROG A calls PROG B .
IDENTIFICATION DIVISION.
PROGRAM-ID. PROGA.
Working storage section.
01 FieldA PIC x(9)
01 B PIC x(5) VALUE PROGB.
CAll B USING DFHEIBLK
DFHCOMMAREA
FieldA.
I want to know whether i need create a PPT entry for PROGB or it will get auto installed. What I have seen is when I am using EXEX CICS LINK or EXEC CICS XCTL I was not creating a PPT entry but they are getting auto installed. Please let me know if this is same with CALL verb as well |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Yes, upon first usage (and if PPT Autoinstall is active in the region), a PPT entry will be built for the Dynamically Called Sub-Program. Note that PPT entries are not required for Statically Called Sub-Programs.
Is this a Threadsafe environment? Because if the Caller/Linker is defined as Threadsafe (and is compliant) and the Callee is not Threadsafe compliant, but is defined as Threadsafe in the PPT, the Callee takes on the characteristics of the Caller and you could have some uninvited "opportunities" (a/k/a "A Can of Worms").
Bill |
|
Back to top |
|
|
rakeshnaredlla
New User
Joined: 04 Aug 2008 Posts: 26 Location: Hyderabad
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
|