Re: mvs command execution using batch job

2011-06-22 Thread Elardus Engelbrecht
Shmuel (Seymour J.) Metz wrote: >>If your INTRDR is set up to allow commands >Bletch! If your auditors are awake they won't allow it. Use CONSOLE, with appropriate permissions. Agreed, sort of. But anyway how the command(s) enter the system, you can still protect the command(s) itself with RA

Re: mvs command execution using batch job

2011-06-22 Thread Shmuel Metz (Seymour J.)
In <1308614064.4210.105.ca...@dv7t.johnmckown.net>, on 06/20/2011 at 06:54 PM, John McKown said: >If your INTRDR is set up to allow commands Bletch! If your auditors are awake they won't allow it. Use CONSOLE, with appropriate permissions. -- Shmuel (Seymour J.) Metz, SysProg and JOAT

Re: mvs command execution using batch job

2011-06-21 Thread Paul Gilmartin
On Tue, 21 Jun 2011 07:55:11 -0500, Walt Farrell wrote: > >Yes, they can all be captured. The only issue may be that if the command >doesn't properly issue the responses then you may not be able to tell that >the response is for the command you issued. But once you (a program) sets up >a console, y

Re: mvs command execution using batch job

2011-06-21 Thread Walt Farrell
On Mon, 20 Jun 2011 18:16:37 -0500, Paul Gilmartin wrote: >But when an operator command is issued from SDSF (or any program) >is it generally possible to capture the reply? I suspect z/OS's >characteristic adverse layering design (Conway's Law) intrudes >here. Ideally, there should be a base la

Re: mvs command execution using batch job

2011-06-21 Thread Steve Dover
Raj, I just execute SDSF from batch like this: //STEP2 EXEC PGM=ISF,PARM='++900,250' //ISFOUT DD DSN=&&LISTOUT,UNIT=SYSDA,DISP=(,PASS), // SPACE=(TRK,(10,10)),RECFM=FBA,LRECL=251,BLKSIZE=0 //ISFINDD * PREFIX OM HTH Steve On Mon, 20 Jun 2011 18:01:15 -0500, Rajender Vemula

Re: mvs command execution using batch job

2011-06-21 Thread Binyamin Dissen
On Mon, 20 Jun 2011 18:01:15 -0500 Rajender Vemula wrote: :>Good Day, :>I want to execute some set of display commands (like D GRS,ENQ,C) on :>console is there any batch utility to do that? . Can i automate this batch :>job to execute on scheduled time. Finally Can I write the output of these

Re: mvs command execution using batch job

2011-06-20 Thread John McKown
If your INTRDR is set up to allow commands and RACF class OPERCMS is set up alos, then you can do a step like: //DOCMD EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT2 DD SYSOUT=(*,INTRDR) //SYSUT1 DD DATA,DLM='..' // COMMAND 'D A,L' // COMMAND 'D T' .. //*MORE STEPS I agree tha

Re: mvs command execution using batch job

2011-06-20 Thread Lizette Koehler
> Good Day, > I want to execute some set of display commands (like D GRS,ENQ,C) on console is > there any batch utility to do that? . Can i automate this batch job to execute on > scheduled time. Finally Can I write the output of these commands to any output > dataset?. Provide me a sample JCL or R

Re: mvs command execution using batch job

2011-06-20 Thread Paul Gilmartin
On Mon, 20 Jun 2011 18:01:15 -0500, Rajender Vemula wrote: > >I want to execute some set of display commands (like D GRS,ENQ,C) on >console is there any batch utility to do that? . Can i automate this batch >job to execute on scheduled time. Finally Can I write the output of these >commands to any

mvs command execution using batch job

2011-06-20 Thread Rajender Vemula
Good Day, I want to execute some set of display commands (like D GRS,ENQ,C) on console is there any batch utility to do that? . Can i automate this batch job to execute on scheduled time. Finally Can I write the output of these commands to any output dataset?. Provide me a sample JCL or Rexx to