Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2441
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: 2504
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 ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us