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

Continuation Problem

68 views
Skip to first unread message

João Luís Matos de Carvalho (DISNI)

unread,
Apr 26, 2002, 11:54:20 AM4/26/02
to
Hi,
Can someone help me with this :
I'm trying to build a Panel that will be a front end of a apllication that
I'm doind, and this panel have a lot of vars., so, when I declare the
variables, I have to continue in the next line.
The question is, what is the sintax for this continuation. Example :

.ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,
------> Putting the code like this, it will give error
ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'


Atenciosamente,
João Carvalho
* - mailto:joao....@mc.pt
"Em momentos de crise, só a imaginação é mais importante que o conhecimento"
(Albert Einstein)

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

Thomas Berg

unread,
Apr 26, 2002, 12:29:24 PM4/26/02
to
You need a "+" as a continuation:

.ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14, +
ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'

Thomas Berg

João Luís Matos de Carvalho (DISNI) skrev:

Glenn Walko

unread,
Apr 26, 2002, 12:53:03 PM4/26/02
to
Did you try it with a + at the end of the first line?

.ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14, + <------
ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'

>>> joao....@MC.PT 04/26/2002 8:50:16 AM >>>


Hi,
Can someone help me with this :
I'm trying to build a Panel that will be a front end of a apllication that
I'm doind, and this panel have a lot of vars., so, when I declare the
variables, I have to continue in the next line.
The question is, what is the sintax for this continuation. Example :

.ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,
------> Putting the code like this, it will give error
ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'


Atenciosamente,
João Carvalho
* - mailto:joao....@mc.pt
"Em momentos de crise, só a imaginação é mais importante que o conhecimento"
(Albert Einstein)

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

This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail.

Ondrejko, David

unread,
Apr 26, 2002, 1:08:55 PM4/26/02
to
IIRC, you end the line that is to be continued with a space and a plus sign
(+). Like this:

.ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6, +
ds7,ds8,ds9,ds10,ds11,ds12)

Modify to fit your needs, of course.

Hope that helps.

-- Davyd

> Hi,
> Can someone help me with this :
> I'm trying to build a Panel that will be a front end of a
> apllication that
> I'm doind, and this panel have a lot of vars., so, when I declare the
> variables, I have to continue in the next line.
> The question is, what is the sintax for this continuation. Example :
>
> .ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,
> ------> Putting the code like this, it will give error
>
> ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'
>

----------------------------------------------------------------------

João Luís Matos de Carvalho (DISNI)

unread,
Apr 26, 2002, 1:26:00 PM4/26/02
to
Thank's for your help ........ Problem solved !

Atenciosamente,
João Carvalho
* - mailto:joao....@mc.pt
"Em momentos de crise, só a imaginação é mais importante que o conhecimento"
(Albert Einstein)


> -----Original Message-----
> From: Glenn Walko [SMTP:GWA...@OPPENHEIMERFUNDS.COM]
> Sent: Sexta-feira, 26 de Abril de 2002 18:49
> To: TSO-...@VM.MARIST.EDU
> Subject: Re: Continuation Problem
>
> Did you try it with a + at the end of the first line?
>
> .ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14, +
> <------
> ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'
>
>
>
> >>> joao....@MC.PT 04/26/2002 8:50:16 AM >>>

> Hi,
> Can someone help me with this :
> I'm trying to build a Panel that will be a front end of a apllication that
> I'm doind, and this panel have a lot of vars., so, when I declare the
> variables, I have to continue in the next line.
> The question is, what is the sintax for this continuation. Example :
>
> .ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,
> ------> Putting the code like this, it will give error
> ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'
>
>

> Atenciosamente,
> João Carvalho
> * - mailto:joao....@mc.pt
> "Em momentos de crise, só a imaginação é mais importante que o
> conhecimento"
> (Albert Einstein)
>

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

> This electronic mail transmission may contain confidential information and
> is intended only for the person(s) named. Any use, copying or disclosure
> by any other person is strictly prohibited. If you have received this
> transmission in error, please notify the sender via e-mail.
>

Jeremy C B Nicoll

unread,
May 2, 2002, 11:20:26 AM5/2/02
to
João Luís Matos de Carvalho (DISNI) <joao....@MC.PT> wrote:


> The question is, what is the sintax for this continuation. Example :

> ..ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,


> ------> Putting the code like this, it will give error
> ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'

My recollection is that - apart from the approach shown by others - you
can do something like:

&list1 = 'ds1 ds2 ds3 ds4 ds5 ds6 ds7 ds8'
&list2 = 'ds9 ds10 ds11 ds12 ds13 ds14 ds15 ds16'
.ZVARS = '(&list1 &list2)'

Personally I prefer this as there's always a risk of continuation chars
getting lost. I also prefer it for instances like:

&dvars = 'd1 d2 d3 d4 d5 d6 d7'
&evars = 'e1 e2 e3 e4 e5 e6 e7'
&fvars = 'f1 f2 f3 f4 f5 f6 f7'
.ZVARS = '(&dvars &evars &fvars)'

--
Jeremy C B Nicoll - my opinions are my own.

Mullen, Chuck

unread,
May 2, 2002, 2:49:56 PM5/2/02
to
Unless I'm mistaken, it would be more like this:

&vl = 'a b c'
&vl = &vl 'd e f'
.zvars = '(&vl)'

-----Original Message-----
From: Gardiner, Roy [mailto:roy.ga...@RBS.CO.UK]
Sent: Thursday, May 02, 2002 10:58 AM
To: TSO-...@VM.MARIST.EDU
Subject: Re: Continuation Problem


> From: Jeremy C B Nicoll [SMTP:Jer...@OMBA.DEMON.CO.UK]
>
> Personally I prefer this as there's always a risk of continuation chars
> getting lost. I also prefer it for instances like:
>
> &dvars = 'd1 d2 d3 d4 d5 d6 d7'
> &evars = 'e1 e2 e3 e4 e5 e6 e7'
> &fvars = 'f1 f2 f3 f4 f5 f6 f7'
> .ZVARS = '(&dvars &evars &fvars)'
>

Looks good to me. Would

&vl = 'a b c'
&vl = '&vl d e f'
.zvars = '(&vl)'

be any improvement?

Roy

Gardiner, Roy

unread,
May 2, 2002, 2:47:29 PM5/2/02
to
> From: Jeremy C B Nicoll [SMTP:Jer...@OMBA.DEMON.CO.UK]
>
> Personally I prefer this as there's always a risk of continuation chars
> getting lost. I also prefer it for instances like:
>
> &dvars = 'd1 d2 d3 d4 d5 d6 d7'
> &evars = 'e1 e2 e3 e4 e5 e6 e7'
> &fvars = 'f1 f2 f3 f4 f5 f6 f7'
> .ZVARS = '(&dvars &evars &fvars)'
>
Looks good to me. Would

&vl = 'a b c'
&vl = '&vl d e f'
.zvars = '(&vl)'

be any improvement?

Roy


The Royal Bank of Scotland plc is registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Agency agreements exist between members of The Royal Bank of Scotland Group. The Royal Bank of Scotland plc is regulated by IMRO, SFA and Personal Investment Authority.

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.

Karlheinz Wittemann

unread,
May 2, 2002, 4:47:09 PM5/2/02
to
to make continuations in a panel you have to put a plus(+) at end of line (same syntax like in CLIST)

Ciao
Heinz

TSO REXX Discussion List <TSO-...@VM.MARIST.EDU> schrieb am 02.05.02:


> João Luís Matos de Carvalho (DISNI) <joao....@MC.PT> wrote:
>
>
> > The question is, what is the sintax for this continuation. Example :
>
> > ..ZVARS='(ds1,ds2,ds3,ds4,ds5,ds6,ds7,ds7,ds9,ds10,ds11,ds12,ds13,ds14,
> > ------> Putting the code like this, it will give error
> > ds15,ds16,ds17,ds18,period,dp1,dp2,dp3,dp4,dp5,dp6,dp7,dp8)'
>
> My recollection is that - apart from the approach shown by others - you
> can do something like:
>
> &list1 = 'ds1 ds2 ds3 ds4 ds5 ds6 ds7 ds8'
> &list2 = 'ds9 ds10 ds11 ds12 ds13 ds14 ds15 ds16'
> .ZVARS = '(&list1 &list2)'
>

> Personally I prefer this as there's always a risk of continuation chars
> getting lost. I also prefer it for instances like:
>
> &dvars = 'd1 d2 d3 d4 d5 d6 d7'
> &evars = 'e1 e2 e3 e4 e5 e6 e7'
> &fvars = 'f1 f2 f3 f4 f5 f6 f7'
> .ZVARS = '(&dvars &evars &fvars)'
>

> --
> Jeremy C B Nicoll - my opinions are my own.
>

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


________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13

João Luís Matos de Carvalho (DISNI)

unread,
May 3, 2002, 4:14:04 AM5/3/02
to
Thank's to you all for the many sugestions.


Atenciosamente,
João Carvalho
* - mailto:joao....@mc.pt
"Em momentos de crise, só a imaginação é mais importante que o conhecimento"
(Albert Einstein)


> -----Original Message-----
> From: Gardiner, Roy [SMTP:roy.ga...@RBS.CO.UK]
> Sent: Quinta-feira, 2 de Maio de 2002 16:58
> To: TSO-...@VM.MARIST.EDU
> Subject: Re: Continuation Problem
>

> > From: Jeremy C B Nicoll [SMTP:Jer...@OMBA.DEMON.CO.UK]
> >

> > Personally I prefer this as there's always a risk of continuation chars
> > getting lost. I also prefer it for instances like:
> >
> > &dvars = 'd1 d2 d3 d4 d5 d6 d7'
> > &evars = 'e1 e2 e3 e4 e5 e6 e7'
> > &fvars = 'f1 f2 f3 f4 f5 f6 f7'
> > .ZVARS = '(&dvars &evars &fvars)'
> >

> Looks good to me. Would
>
> &vl = 'a b c'
> &vl = '&vl d e f'
> .zvars = '(&vl)'
>
> be any improvement?
>
> Roy
>
>
> The Royal Bank of Scotland plc is registered in Scotland No 90312.
> Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Agency
> agreements exist between members of The Royal Bank of Scotland Group. The
> Royal Bank of Scotland plc is regulated by IMRO, SFA and Personal
> Investment Authority.
>
> 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.
>

Gardiner, Roy

unread,
May 3, 2002, 4:17:22 AM5/3/02
to
I'm afraid you are indeed mistaken; variables inside quotes are correctly
substituted, but recoding it with the variable outside gave me:

Invalid statement found within )INIT, )REINIT, or )PROC section.

Roy

PS Actually I just use continuations anyway and didn't realise there was a
problem until this thread :-) here's one picked more or less at random; it
doesn't seem to me that the continuation marks 'get lost'.

&varlist = 'rsvudb2 rsvutbl rsvuyr +
rsvumn rsvudy rsvust +
rsvwkst rsvmode rsvejcl'
.zvars = '(&varlist)'

PPS I only just realised (as I subscribe to ISPF-L too) that we're on the
wong list :-(

> From: Mullen, Chuck [SMTP:cmu...@JHANCOCK.COM]
>
> Unless I'm mistaken, it would be more like this:
>

> &vl = 'a b c'
> &vl = &vl 'd e f'
> .zvars = '(&vl)'
>
> > From: Jeremy C B Nicoll [SMTP:Jer...@OMBA.DEMON.CO.UK]
> >
> > Personally I prefer this as there's always a risk of continuation chars
> > getting lost. I also prefer it for instances like:
> >
> > &dvars = 'd1 d2 d3 d4 d5 d6 d7'
> > &evars = 'e1 e2 e3 e4 e5 e6 e7'
> > &fvars = 'f1 f2 f3 f4 f5 f6 f7'
> > .ZVARS = '(&dvars &evars &fvars)'
> >
> Looks good to me. Would
>
> &vl = 'a b c'
> &vl = '&vl d e f'
> .zvars = '(&vl)'
>
> be any improvement?
>
>

0 new messages