Don’t you need RACF OPERATIONS authority or its equivalent to issue the 
commands?
Can  you just give other people authority to issue commands without having it 
yourself?

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jousma, David
Sent: Friday, April 28, 2017 2:15 PM
To: [email protected]
Subject: Re: VARY command in a batch job

Yep.   That was me!  I can provide it again if anyone wants it.

_________________________________________________________________
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 Cieri, Anthony
Sent: Friday, April 28, 2017 1:34 PM
To: [email protected]
Subject: Re: VARY command in a batch job


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

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

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

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

Reply via email to