Thanks Mitch,
The alternatives offered require ZOWE (which the client doesn;t have) and
FTP which lack the ability to send a response.
ITschak
*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **| *
*|* *Email**:
i_mugzach@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**:
www.Securiteam.co.il **|*
On Mon, Oct 23, 2023 at 4:39 PM Mitchell Rozonkiewiecz via Broadcom <
Mail@broadcom.com> wrote:
> The short answer is no. XEQCMD of LDAP invokes the R_admin() callable
> service and the ESM command processor that is behind the R_admin()
> service.... -posted to the "LDAP" community
> [image: Broadcom] <https: community.broadcom.com="">
> LDAP
> <https: community.broadcom.com/mainframesoftware/communities/community-home/digestviewer?communitykey="228dfeac-dc73-4e12-8e57-05f70c3e15ea">
> Post New Message <
broadcom-caldap@connectedcommunity.org>
> Re: Can I pass any cmd via XEQCMD?
> <https: community.broadcom.com/mainframesoftware/discussion/can-i-pass-any-cmd-via-xeqcmd#bmd374b0d8-f181-49e3-a0af-5a57f9181788="">
> Reply to Group
> <
broadcom_caldap_d374b0d8-f181-49e3-a0af-5a57f9181788@connectedcommunity.org?subject=re:+can+i+pass+any+cmd+via+xeqcmd> Reply
> to Sender
> <https: community.broadcom.com/mainframesoftware/communities/all-discussions/postreply?messagekey="d374b0d8-f181-49e3-a0af-5a57f9181788&ListKey=83fb4faf-f42a-4528-a3bb-e5bf5a05c5d5&SenderKey=af4699d6-8bd2-43a5-8adf-a8b3b4534b28">
> [image: Mitchell Rozonkiewiecz]
> <https: community.broadcom.com/network/members/profile?userkey="af4699d6-8bd2-43a5-8adf-a8b3b4534b28">
> Oct 23, 2023 9:39 AM
> Mitchell Rozonkiewiecz
> <https: community.broadcom.com/network/members/profile?userkey="af4699d6-8bd2-43a5-8adf-a8b3b4534b28">
>
> The short answer is no. XEQCMD of LDAP invokes the R_admin() callable
> service and the ESM command processor that is behind the R_admin() service.
> The ESM command processors only access ACF2, TSS, or RACF commands.
>
> If you want to run programs/scripts, there are other options. For example,
> you can submit JCL to execute programs and/or scripts via FTP. Zowe has
> capabilities.
>
> I hope this helps.
>
> Mitch
>
>
> ------------------------------
> [JobTitle]
> [CompanyName]
> ------------------------------
> *Reply to Group Online
> <https: community.broadcom.com/mainframesoftware/communities/all-discussions/postreply?messagekey="d374b0d8-f181-49e3-a0af-5a57f9181788&ListKey=83fb4faf-f42a-4528-a3bb-e5bf5a05c5d5">*
> *Reply to Group via Email
> <
broadcom_caldap_d374b0d8-f181-49e3-a0af-5a57f9181788@connectedcommunity.org?subject=re:+can+i+pass+any+cmd+via+xeqcmd>*
> *View Thread
> <https: community.broadcom.com/mainframesoftware/discussion/can-i-pass-any-cmd-via-xeqcmd#bmd374b0d8-f181-49e3-a0af-5a57f9181788="">*
> *Recommend
> <https: community.broadcom.com:443/mainframesoftware/discussion/can-i-pass-any-cmd-via-xeqcmd?messagekey="d374b0d8-f181-49e3-a0af-5a57f9181788&cmd=rate&cmdarg=add#bmd374b0d8-f181-49e3-a0af-5a57f9181788">*
> *Forward
> <https: community.broadcom.com/mainframesoftware/communities/all-discussions/forwardmessages?messagekey="d374b0d8-f181-49e3-a0af-5a57f9181788&ListKey=83fb4faf-f42a-4528-a3bb-e5bf5a05c5d5">*
> *Flag as Inappropriate
> <https: community.broadcom.com/mainframesoftware/discussion/can-i-pass-any-cmd-via-xeqcmd?markappropriate="d374b0d8-f181-49e3-a0af-5a57f9181788#bmd374b0d8-f181-49e3-a0af-5a57f9181788">*
>
> -------------------------------------------
> Original Message:
> Sent: Oct 23, 2023 07:04 AM
> From: Itschak Mugzach
> Subject: Can I pass any cmd via XEQCMD?
>
> I would like to start a program instead of passing command to the ESM such
> as TSS. For example, I would like to execute the TSS command in a Rexx
> program and parse the output to XML q Json. It will allow me more
> granularity by creating a program per process instead of performing parsing
> by a client. It this possible?
>
>
>
>
> You are subscribed to "LDAP" as
i_mugzach@securiteam.co.il. To change
> your subscriptions, go to My Subscriptions
> <http: community.broadcom.com/preferences?section="Subscriptions">. To
> unsubscribe from this community discussion, go to Unsubscribe
> <http: community.broadcom.com/higherlogic/egroups/unsubscribe.aspx?userkey="9e7c91e6-33fc-4d82-89e1-018b5c2fc70c&sKey=KeyRemoved&GroupKey=83fb4faf-f42a-4528-a3bb-e5bf5a05c5d5">.
>
>
> Copyright © 2005-2023 Broadcom. All Rights Reserved. The term "Broadcom"
> refers to Broadcom Inc. and/or its subsidiaries.
>
> Hosted by Higher Logic, LLC on the behalf of Broadcom - Privacy Policy
> <https:
www.broadcom.com/company/legal/privacy-policy=""> | Cookie Policy
> <https:
www.higherlogic.com/legal/privacy=""> | Supply Chain Transparency
> <https:
www.broadcom.com/company/citizenship/governance-and-ethics#supply="">> | Terms of Use <http: termsandconditions="">
>
Original Message:
Sent: 10/23/2023 9:39:00 AM
From: Mitchell Rozonkiewiecz
Subject: RE: Can I pass any cmd via XEQCMD?
The short answer is no. XEQCMD of LDAP invokes the R_admin() callable service and the ESM command processor that is behind the R_admin() service. The ESM command processors only access ACF2, TSS, or RACF commands.
If you want to run programs/scripts, there are other options. For example, you can submit JCL to execute programs and/or scripts via FTP. Zowe has capabilities.
I hope this helps.
Mitch
------------------------------
[JobTitle]
[CompanyName]
------------------------------
Original Message:
Sent: Oct 23, 2023 07:04 AM
From: Itschak Mugzach
Subject: Can I pass any cmd via XEQCMD?
I would like to start a program instead of passing command to the ESM such as TSS. For example, I would like to execute the TSS command in a Rexx program and parse the output to XML q Json. It will allow me more granularity by creating a program per process instead of performing parsing by a client. It this possible?
</http:></https:></https:></https:></http:></http:></https:></https:></https:></https:></broadcom_caldap_d374b0d8-f181-49e3-a0af-5a57f9181788@connectedcommunity.org?subject=re:+can+i+pass+any+cmd+via+xeqcmd></https:></https:></https:></https:></broadcom_caldap_d374b0d8-f181-49e3-a0af-5a57f9181788@connectedcommunity.org?subject=re:+can+i+pass+any+cmd+via+xeqcmd></https:></broadcom-caldap@connectedcommunity.org></https:></https:>