There was a similar discussion on the List back in January of this
year, where someone provided a nice Rexx exec that issued operator commands via
the SDSF Rexx API. The Rexx was called OPERCMDB and was executed via JCL. This
would allow you to "authorize" only those who need it, instead of opening up
command submission for everyone!!!!
Hth
Tony
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Steve Beaver
Sent: Friday, April 28, 2017 11:28 AM
To: [email protected]
Subject: Re: VARY command in a batch job
Just remember, you need to BLOCK who can send COMMANDS through the // COMMAND
or you have opened yourself up
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Jousma, David
Sent: Friday, April 28, 2017 10:26 AM
To: [email protected]
Subject: Re: VARY command in a batch job
>If you submit your test with TYPRUN=HOLD, does the command get executed?
Yes. As soon as it gets interpreted. As for a "command issuer", I stole a
rexx exec from IBM that uses ISFSLASH to issue commands, and trap the
responses. Uses your standard SAF interfaces to authorize command use, etc.
I don’t know why IBM just hasn’t packaged something standard for use.
_________________________________________________________________
Dave Jousma
Manager Mainframe Engineering, Assistant Vice President [email protected]
1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Tom Marchant
Sent: Friday, April 28, 2017 10:36 AM
To: [email protected]
Subject: Re: VARY command in a batch job
On Fri, 28 Apr 2017 14:18:37 +0000, william janulin wrote:
>Guys,I just did a quick test of a batch job with a // COMMAND statement
>in it , using IEFBR14, it worked fine.
>Thank you everyone for your responses, Bill J.
When did it work? IIRC the command is issued when it is read or converted.
If you want the command to be issued at a time relative to other steps in the
job, you'll need a program to submit the command. If you submit your test with
TYPRUN=HOLD, does the command get executed?
--
Tom Marchant
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
This e-mail transmission contains information that is confidential and may be
privileged. It is intended only for the addressee(s) named above. If you
receive this e-mail in error, please do not read, copy or disseminate it in any
manner. If you are not the intended recipient, any disclosure, copying,
distribution or use of the contents of this information is prohibited. Please
reply to the message immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer system. Your
assistance in correcting this error is appreciated.
----------------------------------------------------------------------
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN