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
 

 

How to check if an online program is DPL Invoked

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
mikayag

New User


Joined: 10 Mar 2005
Posts: 16

PostPosted: Tue Mar 16, 2010 10:48 am    Post subject: How to check if an online program is DPL Invoked
Reply with quote

Hello folks,

What is the quickest way of knowing which of these over 5K online programs are DPL invoked. We need to analyse these DPL invoked programs if they are not using any DPL prohibited CICS APIs.

Any inputs will be appreciated as we need to limit our analysis to those whihc are DPL invoked

Thanks,
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 16, 2010 1:04 pm    Post subject:
Reply with quote

You can use the CICS System Programming command INQUIRE TASK, and test the value of STARTCODE. "D" & "DS" are the values returned for a task initiated by a DPL link.

O.
Back to top
View user's profile Send private message
mikayag

New User


Joined: 10 Mar 2005
Posts: 16

PostPosted: Tue Mar 16, 2010 1:25 pm    Post subject:
Reply with quote

Thanks but we will only know these values at run time. My question is: just by reading the codes or maybe doing a search, how will I know that the program is DPL invoked
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 16, 2010 1:54 pm    Post subject:
Reply with quote

The following link gives some info about DPL and contains tables
with LINK parameters (e.g. SYNCONRETURN) you could use to scan
sources.

http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfhp3/dfhp365.htm
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 Mar 16, 2010 5:04 pm    Post subject: Reply to: How to check if an online program is DPL Invoked
Reply with quote

If "A" was the invoking local region (program) and "B" was the target remote region (program), review the PPT entry for the program in "A" for a Remotesystem/Sysid value associated with "B", which would constitute a DPL.

However, if the invoking program in "A" was dynamically adding the Remotesystem/Sysid directly to the LINK API, which then makes it a DPL, then this might be more difficult to determine and would require a code review.

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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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