View previous topic :: View next topic
|
Author |
Message |
farhad_evan
New User
Joined: 30 Aug 2014 Posts: 24 Location: UK
|
|
|
|
hi all
i run this JCL to execute simple MVS command through JCL
Code: |
//TEST EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=*
//SYSUT1 DD DATA,DLM='$$'
/*$VS,'/D T'
$$
|
max_rc is 0 but where is output ?
thanks |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
Assuming you are authorized to submit the JES2 $VS command, the output is where you would expect the output for a console command to be displayed.
By the way, /D is not a valid operator command.
I strongly recommend you study the COMMAND Statement chapter in MVS JCL Reference for your z/OS release. |
|
Back to top |
|
|
farhad_evan
New User
Joined: 30 Aug 2014 Posts: 24 Location: UK
|
|
|
|
thanks steve
i study COMMAND Statement and use it
it's work but request reply from operator
how i run command without reply request ?
thanks |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
It has been many years since I was authorized to run commands through JCL, either through /*$VS or // COMMAND; much of my memory of that period has been blotted out
Look up the message issued in response to the // COMMAND statement. The manual may provide a clue as to how to avoid the message. For all I know the JCL Reference manual may offer a clue. When I researched my previous reply I only found the chapter for you to consult; I didn't actually look at it! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the answer is in the JES manuals ...
when defining the internal readers options
the command capability has three choices ,
allow, deny, ask for confirmation |
|
Back to top |
|
|
|