Robert O'Hara wrote:
> I would like to be able to issue a command to Hercules from within a CMS EXEC.
>
> I observe that Hercules provides the capability to issue a command via Diagnose 8. Thus it should be possible to create a CP command that issues that Diagnose 8, and the CP command can be called from an EXEC.
>
> Has anyone already implemented this?
>
> Thanks, Bob
>
>
There is a HCP command for VM/370 floating around (should be in the file
area)..
This CP command issues a DIAG 8 with the command arguments to the
underlying system (hercules or the previous level of VM if running a 2nd
level VM).
Depending on where you got your copy of VM/370 from, it may already be
in there.
--Ivan