Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TSO receive command in REXX not working

651 views
Skip to first unread message

Mike Lupo

unread,
Jul 30, 2002, 11:38:13 AM7/30/02
to
I'm trying to get the following exec to receive a dataset. The problem I'm having is that I get a
message saying that prompting is turned off for an exec or clist (see output below). Anyway
around this?

-Mike Lupo

/* rexx */
receiver='MYUID'
rcvparms=''
tabdsn='myuid.rexx.testdsn'

address tso
"profile msgid prompt wtpmsg"
queue "DSNAME('"tabdsn"') "rcvparms
queue "END"
"RECEIVE USER("receiver")"
say "RECEIVE RC="rc
/* end of prog */


output from exec. . . .

INMR901I Dataset TEST.DATASET from MYUID on xyznode

INMR906A Enter restore parameters or 'DELETE' or 'END' +

IKJ56286I SYSTEM OR INSTALLATION ERROR. REPORT THE FOLLOWING MESSAGE TO YOUR TSO ADMINISTRATOR

IKJ56284I UNABLE TO ISSUE MESSAGE WITH PROMPT FOR REPLY+

INMR042I RECEIVE failed; system cannot prompt you for information. +

IKJ56284I NOPROMPT SET IN TSO PROFILE, OR PROMPTING IS OFF FOR AN EXEC OR CLIST (PUTGET R.C. IS
X'0000000C')
INMR043I Prompting was inhibited.

RECEIVE RC=12

A command entered or contained in a CLIST has invalid syntax.

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX

Larry Kahm

unread,
Jul 30, 2002, 12:31:50 PM7/30/02
to
First question:

What is the return code after you issue the "profile msgid prompt wtpmsg"
command?

Larry Kahm


Davage, Marcus

unread,
Jul 30, 2002, 12:06:59 PM7/30/02
to
try
x=prompt('on')
x=msg('on')
before, and
x=prompt('off')
x=msg('off')
after your call to RECEIVE


Marcus


-----------------------------------------------------------------------------------------------------------------------
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.

evolvebank.com is a division of Lloyds TSB Bank plc.
Lloyds TSB Bank plc, 71 Lombard Street, London EC3P 3BS. Registered in
England, number 2065. Telephone No: 020 7626 1500
Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street,
Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone
No: 0131 225 4555

Lloyds TSB Bank plc and Lloyds TSB Scotland plc are regulated by the
Financial Services Authority and represent only the Scottish Widows
and Lloyds TSB Marketing Group for life assurance, pensions and
investment business.

Signatories to the Banking Codes.
-----------------------------------------------------------------------------------------------------------------------

Stephen E. Bacher

unread,
Jul 30, 2002, 4:59:04 PM7/30/02
to
Mike Lupo <mike...@yahoo.com> wrote:

>I'm trying to get the following exec to receive a dataset. The
>problem I'm having is that I get a >message saying that prompting is
>turned off for an exec or clist (see output below). Anyway
>around this?

>address tso
> "profile msgid prompt wtpmsg"

Rather than the above, try:

call prompt "ON"

- seb

0 new messages