On Thursday, 01/11/2018 at 06:00 GMT, Miguel Soltero Diaz <[email protected]> wrote: > Thank you guys for your efforts. > > Alan, I tried using !STARMSG *MSG', > and the response was sent to console. > That is why I used STARTMSG *MSGALL. > That way at least the response is sent to the REPT. > > Michael, > I am following your advice, and I am not able to past SPECS. > > Here is VMSECURE when I issue the command myself > VMXCMD1117E The CAN command is not a CA VM:Secure command. > Ready(00024); T=0.01/0.01 08:33:39 > > With the following pipe, I can see the VMXCMD1117E message made it to the > report... > but after that the pipe is stalling in SPECS... > > 'pipe (stagesep ! endchar ?)', > '! VAR VMCMD', > '! cc:Command', > '! rr:Fanin', > '! >> GTPRIV REPT A', > '? cc:', > '! Specs 7-11 1', > '! rr:' > > I tried sending the full word "Ready(00024);" but didn't work either. > I tried sending the full record (recno 1) and failed ... > Is there a way to send everything to REPT? > > My apologies for the late response > That way I can see the full line
Here's a very simple pipe to get the output. ----------------------------------- /* */ vmcmd = "VMSECURE CAN" "PIPE", " var vmcmd", "| command", "| stem output." cmdrc = rc Say "Here is the command response from" vmcmd":" "PIPE", " stem output.", "| cons" Say vmcmd "ended with RC" cmdrc exit /* or exit cmdrc */ ----------------------------------- But I may not be understanding what you are trying to do. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 [email protected] IBM Endicott
