Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding a PPT entry while using a Call verb.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Regarding a PPT entry while using a Call verb.
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Dec 07, 2009 8:31 pm    Post subject: Reply to: Regarding a PPT entry while using a Call verb.
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    Post subject: Reply to: Regarding a PPT entry while using a Call verb.
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.

http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Dec 08, 2009 7:08 pm    Post subject: Reply to: Regarding a PPT entry while using a Call verb.
Reply with quote

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

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

There are many other downloadable Redbooks available.

Redbook link ===> http://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    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 Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... zingy.rajeev CICS 0 Mon Aug 22, 2016 4:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us