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'
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
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
>> 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 *
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
>> 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
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