Hello Lizette.

How are you?

Our REXX is running undex Z/VM, and now is ok.

Thanks very much, and very glad see you here again.

Grretings from São Paulo - Brazil.


Sergio

-----Mensagem original-----
De: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] Em nome de 
Lizette Koehler
Enviada em: quinta-feira, 8 de agosto de 2013 18:19
Para: IBM-MAIN@LISTSERV.UA.EDU
Assunto: Re: How GET a Return Code from a Caller.

Sergio - you posted to both IBMMAIN and z/VM newsgroups.  Are you doing this 
under z/VM? Or z/OS?

Each environment will behave differently

Lizette


PS No question is stupid.  Repeating it over and over and expecting different 
results - might be.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Sérgio Lima Costa
Sent: Thursday, August 08, 2013 9:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ENC: How GET a Return Code from a Caller.

Hello List.

Sorry about this STUPID question.

Now is ok...

REXX ONE:

/*   */
Trace r
duas parametro
say rc
exit

REXX TWO IS THE SAME...

RESULT...

Ready; T=0.01/0.01 13:21:38
UMA
     3 *-* duas parametro
       >>>   "DUAS PARAMETRO"
     3 *-* arg argumento
       >>>   "PARAMETRO"
     4 *-* say argumento
       >>>   "PARAMETRO"
PARAMETRO
     5 *-* rc = 99
       >>>   "99"
     6 *-* exit rc
       >>>   "99"
       +++ RC(99) +++
     4 *-* say rc
       >>>   "99"
99
     5 *-* exit
Ready; T=0.01/0.01 13:21:40


Never use CALL ...

Thanks and sorry again.

Sergio

De: Sérgio Lima Costa
Enviada em: quinta-feira, 8 de agosto de 2013 13:17
Para: 'The IBM z/VM Operating System'
Assunto: How GET a Return Code from a Caller.

Hello List,

I have a question here, that I can't get the RETURN CODE from a REXX Called.

Look please :

REXX ONE :

/*   */
Trace r
call duas parametro
say rc
exit

REXX TWO:

/*   */
trace r
arg argumento
say argumento
rc = 99
exit rc

THE RESULT :

uma
     3 *-* call duas parametro
       >>>   "PARAMETRO"
     3 *-* arg argumento
       >>>   "PARAMETRO"
     4 *-* say argumento
       >>>   "PARAMETRO"
PARAMETRO
     5 *-* rc = 99
       >>>   "99"
     6 *-* exit rc
       >>>   "99"
       >>>   "99"
     4 *-* say rc
       >>>   "RC"
RC
     5 *-* exit
Ready; T=0.01/0.01 13:13:01


Why the FIRST REXX (CALLER) don't  "see" THE rc = 99 ?

Any help please ?

Thanks very much.

Sergio Lima Costa
São Paulo - Brazil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

"Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) 
acima identificado(s),
podendo conter informações e/ou documentos confidencias/privilegiados e seu 
sigilo é protegido por
lei. Caso você tenha recebido por engano, por favor, informe o remetente e 
apague-a de seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, 
cópia ou uso sem
expressa autorização do remetente. Opiniões pessoais do remetente não refletem, 
necessariamente,
o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas."

"Warning: This message was sent for exclusive use of the addressees above 
identified, possibly
containing information and or privileged/confidential documents whose content 
is protected by law.
In case you have mistakenly received it, please notify the sender and delete it 
from your system.
Be noticed that the law forbids the retention, dissemination, distribution, 
copy or use without
express authorization from the sender. Personal opinions of the sender do not 
necessarily reflect
CETIP's point of view, which is only divulged by authorized personnel."

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to