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

Regarding a PPT entry while using a Call verb.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rakeshnaredlla

New User


Joined: 04 Aug 2008
Posts: 26
Location: Hyderabad

PostPosted: Mon Dec 07, 2009 7:24 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Dec 07, 2009 8:31 pm
Reply with quote

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
View user's profile Send private message
rakeshnaredlla

New User


Joined: 04 Aug 2008
Posts: 26
Location: Hyderabad

PostPosted: Tue Dec 08, 2009 10:35 am
Reply with quote

Thank you Bill,

Both my programs are cobol programs.

Is there any document or website that I can go through on this.Anyways I did find this document. I wanted to see some other documents which depict about this.Can you Please provide me some other web-sites other than the one below.

publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfhp3/dfhp3p9.htm


Thank you,
Rakesh
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Dec 08, 2009 7:08 pm
Reply with quote

IBM publishes a Redbook, entitled "Threadsafe Considerations for CICS" and it can be downloaded as a PDF -

www.redbooks.ibm.com/abstracts/sg246351.html?Open

There are many other downloadable Redbooks available.

Redbook link ===> www.redbooks.ibm.com

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top