Invoking the pattern matching interface

To invoke the pattern matching interface, LINK to program DFHDPCP, with a commarea.

Procedure

Use a commarea with a length of 699 bytes or longer and the following structure:
Offset Hex Offset Decimal Type Length Name Type of data Description
X'00' 0   16   Reserved  
X'10' 16   1   Input Specify a value of X'02'
X'11' 17   1   Reserved  
X'12' 18 UNSIGNED 1 DPCC_RESPONSE Output
X'01'
The specified program instance matches an active debugging profile.
X'02'
The specified program instance does not match an active debugging profile.
X'13' 19 CHARACTER 4 DPCC_TRANID Input Specify the transaction ID that is used to identify matching profiles
X'17' 23 CHARACTER 4 DPCC_TERMID Input Specify the terminal ID that is used to identify matching profiles
X'1B' 27 CHARACTER 8 DPCC_PROGID Input Specify the program name that is used to identify matching profiles
X'23' 35 CHARACTER 30 DPCC_COMP_UNIT Input Specify the name of the compilation unit that is used to identify matching profiles
X'41' 65 CHARACTER 8 DPCC_USERID Input Specify the user ID that is used to identify matching profiles
X'49' 73 CHARACTER 8 DPCC_NETNAME Input Specify the terminal Netname that is used to identify matching profiles
X'51' 81 CHARACTER 8 DPCC_APPLID Input Specify the APPLID that is used to identify matching profiles
X'59' 89 CHARACTER 1 DPCC_SESSION_ TYPE Output
X'01'
The best matching debugging profile specifies a session type of 3270
X'02'
The best matching debugging profile specifies a session type of TCP
X'5A' 90 CHARACTER 255 DPCC_IP_NAME_ OR_ADDR Output For a session type of TCP, returns the TCP/IP name or address specified in the best matching profile
X'159' 345 CHARACTER 5 DPCC_PORT Output For a session type of TCP, returns the port number specified in the best matching profile
X'15E' 350 CHARACTER 4 DPCC_3270_ DISPLAY Output For a session type of 3270, returns the terminal Id of the 3270 terminal specified in the best matching profile
X'162' 354 UNSIGNED 1 DPCC_TEST_ LEVEL Output If the best matching profile is for a Language Environment® program, returns the Test Level specified in the profile
X'163' 355 CHARACTER 44 DPCC_COMMAND_ FILE Output If the best matching profile is for a Language Environment program, returns the name of the Command File specified in the profile
X'18F' 399 UNSIGNED 1 DPCC_PROMPT Output If the best matching profile is for a Language Environment program, returns the Prompt Level specified in the profile
X'190' 400 CHARACTER 44 DPCC_ PREFERENCE_ FILE Output If the best matching profile is for a Language Environment program, returns the name of the Preference File specified in the profile
X'1BC' 444 CHARACTER 255 DPCC_LE_ OPTIONS Output If the best matching profile is for a Language Environment program, returns the Language Environment options specified in the profile