Let's assume your server ASID runs Key2 via SCHEDxx and has some anchor block 
in common memory where you can locate its presence (Key2 non-fetch protected)

Your SSI-10 routine will get control in Key0

My suggested sequence would be :

(o) Discover the presence of your server ASID anchor block
(o) Use its macro interface to generate the PC-ss invocation passing the data 
from SSI-10 as required - most likely the parameters will reside in key0 
working memory for the SSI-10 routine. Note that you will need to pass any 
originating console information for any responses you wish to WTO out.
(o) The ETDEF for the PC-ss will specify that the routine will execute in Key2
(o) PC-ss routine will copy the passed Key0 parameter list into its own working 
storage (Key2) using MVCSK (or similar)
(o) PC-ss routine will validate the passed parameter list using the Key2 copy
(o) If paramter list is valid , the PC-ss routine will add a request to a queue 
in your server ASID memory (key2) that will be processed by a handler subtask 
(or be immediately processed)

I would NOT use SRBs at all in this sequence.

Rob




________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
[email protected] <[email protected]>
Sent: Tuesday, June 09, 2026 1:40 PM
To: [email protected] <[email protected]>
Subject: Re: SSI Function Code 10

EXTERNAL EMAIL




Hello Rob.Thanks for the response -I avoid key zero as much as possible 
-Regarding Item 2 -Enables your server ASID to execute in its assigned PSW key 
(via SCHEDxx) to do the meat of the logic - very strongly recommend your server 
runs in something like Key2 or Key4 and not Key0
.
Can You elaborate on the above -
Are You saying the Command Processing Routine (SSI Function n Code 10) should 
schedule an
SRB into the Server Address Space ?
Please elaborate -
.
Thank You

---------- Original Message ----------
From: Rob Scott <[email protected]>
To: [email protected]
Subject: Re: SSI Function Code 10
Date: Mon, 8 Jun 2026 08:19:32 +0000

My 2c:

(o) I would use a PC-ss to add a request to a queue in your main server ASID 
private memory which would be processed asynchronously by a subtask there
The advantages as I see it of using this approach :

1.
Short path length in the SSI-10 function - just capture the command data as the 
payload and issue the PC-ss
2.
Enables your server ASID to execute in its assigned PSW key (via SCHEDxx) to do 
the meat of the logic - very strongly recommend your server runs in something 
like Key2 or Key4 and not Key0
3.
Reduces time spent by your code in Key0 - reduces risk to system as a whole

(o) I would use SSI-10 if the software product could have several instances on 
the same local system, otherwise I think a modify interface should suffice

1.
Even if using modify and QEDIT etc, I would suggest each incoming command be 
processed by a subtask (perhaps new subtask for each command) so that your main 
command handler is just a router and this reduces possibility of a bug making 
your server unable to communicate.

Rob Scott
Rocket Software
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
[email protected] <[email protected]>
Sent: 06 June 2026 10:14 PM
To: [email protected] <[email protected]>
Subject: SSI Function Code 10

EXTERNAL EMAIL





Hello.I have been looking into the use of SSI Function Code 10 - Command 
Processing -.I can build an SSVT, Invoke IEFSSVT, I can ACTIVATE the subsystem, 
I can register a command prefix, all the housekeeping is in place -..Im looking 
for guidance, best practices, what to avoid, regarding the actual Command 
Processing program -.Lets start start with the command processing program 
communication with an associated address space -What are the pros/cons to using 
a Space Switching PC routine as opposed to scheduling an SRB intothe associated 
address space ? .When to use a Command Prefix with SSI Function Code 10 over a 
traditional MVS Modify command using QEDIT ?.What environment (unit of work) is 
SSI Function code 10 invoked TCB or SRB ?.Is there any additional documentation 
of SSI Function code 10 other than Sub system Interface, that discusses 
developing a command processing program ?.paul

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


================================
Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport<https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport>
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences<http://www.rocketsoftware.com/manage-your-email-preferences>
Privacy Policy - 
http://www.rocketsoftware.com/company/legal/privacy-policy<http://www.rocketsoftware.com/company/legal/privacy-policy>
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

================================
Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to