newsgroups-index (beta)

Current group: bit.listserv.tsorexx

Re: INTERPRET

Re: INTERPRET  
Hamilton, Robert L
 Re: INTERPRET  
Binyamin Dissen
From:Hamilton, Robert L
Subject:Re: INTERPRET
Date:18 Jan 2005 04:28:17 -0800
This is in OBJREXX and record is a row of an array.

When I try to use INTERPRET 'PARSE VAR record 'pattern.yr
Nothing happens. I'm still working on it.

Thanks

bobh

-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-REXX@VM.MARIST.EDU] On Behalf
Of Gardiner, Roy
Sent: Tuesday, January 18, 2005 5:46 AM
To: TSO-REXX@VM.MARIST.EDU
Subject: INTERPRET

> From: Hamilton, Robert L [SMTP:roberth@UTDALLAS.EDU]
>
> Thanks,
> I got this to work
>
> Parse_Command = 'PARSE VAR record 'pattern.yr;
> INTERPRET Parse_Command;
>
> But I still don't see why I need the extra step.
>
You don't, or I am misunderstanding something. Does the variable
RECORD contain a variable name, for instance?

This code snippet:

record = "first(second"
pattern.yr = "one '(' two"

Parse_Command = 'PARSE VAR record' pattern.yr;
INTERPRET Parse_Command;
say ">"one"<>"two"<"

one = ""; two = ""
record = "third(fourth"

interpret 'PARSE VAR record' pattern.yr
say ">"one"<>"two"<"

does it either way.


The Royal Bank of Scotland plc, Registered in Scotland No. 90312.
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB

The Royal Bank of Scotland plc is authorised and regulated by the
Financial Services Authority and represents The Royal Bank of Scotland
Marketing Group. The Bank sells life policies, collective investment
schemes and pension products and advises only on the Marketing Group's
range of these products and on a With-Profit Bond produced by Norwich
Union Life (RBS) Limited.

This e-mail message is confidential and for use by the addressee only.
If the message is received by anyone other than the addressee, please
return the message to the sender by replying to it and then delete the
message from your computer. Internet e-mails are not necessarily secure.
The Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by The Royal Bank of Scotland plc in this regard and the
recipient should carry out such virus and other checks as it considers
appropriate.

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

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LISTSERV@VM.MARIST.EDU with the message: INFO TSO-REXX
From:Binyamin Dissen
Subject:Re: INTERPRET
Date:18 Jan 2005 04:31:40 -0800
On Tue, 18 Jan 2005 06:28:01 -0600 "Hamilton, Robert L"
wrote:

:>This is in OBJREXX and record is a row of an array.

:>When I try to use INTERPRET 'PARSE VAR record 'pattern.yr
:>Nothing happens. I'm still working on it.

What does TRACE I show?

--
Binyamin Dissen
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum