Re: Do you have an example of .......

2022-05-17 Thread Horacio Luis Villa
mayo de 2022 06:46 Para: IBM-MAIN@LISTSERV.UA.EDU Asunto: [EXTERNAL] Re: Do you have an example of ... Try this REXX using the SDSF API: zz=isfcalls('ON') Address SDSF ISFSLASH "'D SMS,STORGRP(ALL)' (WAIT)" cc=rc zz=isfcalls('OFF') if rc<>0 then say 'Console failed rc'

Re: Do you have an example of .......

2022-05-17 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Do you have an example of ... >> I can execute the command from SDSF, but have no console authority. Is there >> any other way? Horacio, Try this JCL which runs SDSF in batch and will write the output of the command to dynamically allo

Re: Do you have an example of .......

2022-05-17 Thread Willy Jensen
Try this REXX using the SDSF API: zz=isfcalls('ON') Address SDSF ISFSLASH "'D SMS,STORGRP(ALL)' (WAIT)" cc=rc zz=isfcalls('OFF') if rc<>0 then say 'Console failed rc' cc

Re: Do you have an example of .......

2022-05-16 Thread Sri h Kolusu
>> I can execute the command from SDSF, but have no console authority. Is there >> any other way? Horacio, Try this JCL which runs SDSF in batch and will write the output of the command to dynamically allocated ddname SYS1 //RUNCCMDS EXEC PGM=SDSF //ISFOUT DD SYSOUT=* //ISFINDD *

Re: Do you have an example of .......

2022-05-16 Thread Horacio Luis Villa
Asunto: [EXTERNAL] Re: Do you have an example of ... >> I'd like to catch the output of an SMS command, like 'DISPLAY SMS, >> STORGRP(ALL), from REXX. Is that possible? Horacio, Try this /* rexx */ cmd='d sms,storgrp(all)' "console activate" "console syscmd(&q

Re: Do you have an example of .......

2022-05-16 Thread Sri h Kolusu
>> I'd like to catch the output of an SMS command, like 'DISPLAY SMS, >> STORGRP(ALL), from REXX. Is that possible? Horacio, Try this /* rexx */ cmd='d sms,storgrp(all)' "console activate" "console syscmd("cmd")" mcode=getmsg('conmsg1.','sol',,,60) if conmsg1.0 = 0 then do say 'no message

Do you have an example of .......

2022-05-16 Thread Horacio Luis Villa
Hi, I'd like to catch the output of an SMS command, like 'DISPLAY SMS, STORGRP(ALL), from REXX. Is that possible? I've tried some ideas with no luck. Thanks, Horacio De: IBM Mainframe Discussion List en nombre de Pommier, Rex Enviado: lunes, 16 de mayo de 2022