Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2013-11-21 Thread Rutherford, Marc
Bruce,

The order of the clauses is important.  I always use in the following sequence:

EXECUTE stmt PASSLIST RTNLIST CAPTURING RETURNING


Marc Rutherford
Principal Programmer/Analyst
Advanced Bionics LLC
661 362-1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bruce Decker
Sent: Wednesday, November 20, 2013 3:56 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

This is a reply to a old post but since this is the top search result for 
RTNLIST, I'll post a reply with useful info.  Unidata's BASIC compiler seems to 
be quite particular about the ORDER of the clauses on an Execute.  Put RTNLIST, 
RETURNING AND CAPTURING in the wrong order and you'll see a error like this:

Compiling Unibasic: mysource\test4 in mode 'p'.
main program: syntax error at or before
line 7 EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen;
 --^
Misuse of reserved word 'RTNLIST'
Expecting: end-of-file,END

compilation failed

Here is the code with examples of proper order of the clauses on an execute and 
the final example of EXECUTE producing the failure message above...

done = @FALSE
l.voc = \\
i = 0
EXECUTE \SELECT VOC\ RTNLIST l.voc  
 
; *compiles ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk  ;
*compiles ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk CAPTURING screen; *compiles 
ok EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen; *fails 
compile LOOP READNEXT id FROM l.voc ELSE done = @TRUE UNTIL done DO
   i=+ 1
REPEAT
CRT i:\ records counted\
STOP 



--
View this message in context: 
http://u2-universe-unidata.1073795.n5.nabble.com/UD-PE-7-1-0-Use-of-EXECUTE-with-the-RTNLIST-option-tp7096p42187.html
Sent from the U2 - Users mailing list archive at Nabble.com.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2013-11-20 Thread Bruce Decker
This is a reply to a old post but since this is the top search result for
RTNLIST, I'll post a reply with useful info.  Unidata's BASIC compiler seems
to be quite particular about the ORDER of the clauses on an Execute.  Put
RTNLIST, RETURNING AND CAPTURING in the wrong order and you'll see a error
like this:

Compiling Unibasic: mysource\test4 in mode 'p'.
main program: syntax error at or before
line 7 EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen;
 --^
Misuse of reserved word 'RTNLIST'
Expecting: end-of-file,END

compilation failed

Here is the code with examples of proper order of the clauses on an execute
and the final example of EXECUTE producing the failure message above...

done = @FALSE
l.voc = \\
i = 0
EXECUTE \SELECT VOC\ RTNLIST l.voc  
 
; *compiles ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk  ;
*compiles ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk CAPTURING screen;
*compiles ok
EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen; *fails
compile
LOOP
READNEXT id FROM l.voc ELSE done = @TRUE
UNTIL done DO
   i=+ 1
REPEAT
CRT i:\ records counted\
STOP 



--
View this message in context: 
http://u2-universe-unidata.1073795.n5.nabble.com/UD-PE-7-1-0-Use-of-EXECUTE-with-the-RTNLIST-option-tp7096p42187.html
Sent from the U2 - Users mailing list archive at Nabble.com.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2013-11-20 Thread Bill Haskett

Bruce:

Thanks.  This always gets me so I never use the RTNLIST.  :-)

Bill
Untitled Page



- Original Message -
*From:* bdec...@bluepinc.com
*To:* u2-users@listserver.u2ug.org
*Date:* 11/20/2013 3:56 PM
*Subject:* Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

This is a reply to a old post but since this is the top search result for
RTNLIST, I'll post a reply with useful info.  Unidata's BASIC compiler seems
to be quite particular about the ORDER of the clauses on an Execute.  Put
RTNLIST, RETURNING AND CAPTURING in the wrong order and you'll see a error
like this:

Compiling Unibasic: mysource\test4 in mode 'p'.
main program: syntax error at or before
line 7 EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen;
  --^
Misuse of reserved word 'RTNLIST'
Expecting: end-of-file,END

compilation failed

Here is the code with examples of proper order of the clauses on an execute
and the final example of EXECUTE producing the failure message above...

done = @FALSE
l.voc = \\
i = 0
*
EXECUTE \SELECT VOC\ RTNLIST l.voc ; *compiles 
ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk  ; *compiles 
ok
EXECUTE \SELECT VOC\ RTNLIST l.voc RETURNING junk CAPTURING screen ; *compiles 
ok
EXECUTE \SELECT VOC\ RETURNING junk RTNLIST l.voc CAPTURING screen ; *fails 
compile
*
LOOP
READNEXT id FROM l.voc ELSE done = @TRUE
UNTIL done DO
i=+ 1
REPEAT
CRT i:\ records counted\
STOP



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Dave Taylor
I have had a problem compiling a program in Unidata 7.1.0 that is taken from
Universe that uses an EXECUTE statement with the RTNLIST option.

To test this in its simplest  form, I entered the following test program and
got the following result after compiling it:

ED BP TEST
0001EXECUTE SELECT CLIENTS  RTNLIST 1
0002END

Compiling TEST with the command BASIC BP TEST produced the following error
message:

Misuse of reserved word 'RTNLIST'
Expecting: end-of-file,END

This program appears to comply with the syntax described in the UniData
Commands Reference manual with the exception that it does not contain an ON
connection phrase which appears to not be an option but is described as
UniData no longer supports this parameter, but is remains for syntax
compatibility.

Since I don't know what a connection is,  I tried adding X= and the phrase
ON X before the RTNLIST option in the EXECUTE statement and still got the same
error message.

EXECUTE with the RTNLIST option works fine in Universe.

Any suggestions?

tia,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Gordon J Glorfield
I'd never seen the RTNLIST clause until I moved from UniData to UniVerse. 
In your example replace the RTNLIST with TO as in:

EXECUTE SELECT CLIENTS TO 1

This syntax works for both UD and UV.

HTH,
Gordon


Gordon J. Glorfield
Sr. Applications Developer
UnitedHealthcare's Mid-Atlantic Health Plans
301-360-8839

[EMAIL PROTECTED] wrote on 03/30/2006 02:26:50 PM:

 I have had a problem compiling a program in Unidata 7.1.0 that is taken 
from
 Universe that uses an EXECUTE statement with the RTNLIST option.

 To test this in its simplest  form, I entered the following test program 
and
 got the following result after compiling it:

 ED BP TEST
 0001EXECUTE SELECT CLIENTS  RTNLIST 1
 0002END

 Compiling TEST with the command BASIC BP TEST produced the following 
error
 message:

 Misuse of reserved word 'RTNLIST'
 Expecting: end-of-file,END

[snip]


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Jerry Banker

Flavor?

- Original Message - 
From: Dave Taylor [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Thursday, March 30, 2006 1:26 PM
Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option


I have had a problem compiling a program in Unidata 7.1.0 that is taken 
from

Universe that uses an EXECUTE statement with the RTNLIST option.

To test this in its simplest  form, I entered the following test program 
and

got the following result after compiling it:

ED BP TEST
0001EXECUTE SELECT CLIENTS  RTNLIST 1
0002END

Compiling TEST with the command BASIC BP TEST produced the following error
message:

Misuse of reserved word 'RTNLIST'
Expecting: end-of-file,END

This program appears to comply with the syntax described in the UniData
Commands Reference manual with the exception that it does not contain an 
ON

connection phrase which appears to not be an option but is described as
UniData no longer supports this parameter, but is remains for syntax
compatibility.

Since I don't know what a connection is,  I tried adding X= and the 
phrase
ON X before the RTNLIST option in the EXECUTE statement and still got the 
same

error message.

EXECUTE with the RTNLIST option works fine in Universe.

Any suggestions?

tia,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Dave Taylor
Jerry,

I haven't been able to find any reference to flavor  or PICK in the UD
documentation, so I haven't declared a flavor (as far as I know).

I would like to declare a PICK flavor but I don't know how to do that.

Any suggestions?

tia,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com

- Original Message - 
From: Jerry Banker [EMAIL PROTECTED]
To: Dave Taylor [EMAIL PROTECTED]; u2-users@listserver.u2ug.org
Sent: Thursday, March 30, 2006 12:34 PM
Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option


 Flavor?

 - Original Message - 
 From: Dave Taylor [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Sent: Thursday, March 30, 2006 1:26 PM
 Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option


 I have had a problem compiling a program in Unidata 7.1.0 that is taken
 from
  Universe that uses an EXECUTE statement with the RTNLIST option.
 
  To test this in its simplest  form, I entered the following test program
  and
  got the following result after compiling it:
 
  ED BP TEST
  0001EXECUTE SELECT CLIENTS  RTNLIST 1
  0002END
 
  Compiling TEST with the command BASIC BP TEST produced the following
error
  message:
 
  Misuse of reserved word 'RTNLIST'
  Expecting: end-of-file,END
 
  This program appears to comply with the syntax described in the UniData
  Commands Reference manual with the exception that it does not contain an
  ON
  connection phrase which appears to not be an option but is described as
  UniData no longer supports this parameter, but is remains for syntax
  compatibility.
 
  Since I don't know what a connection is,  I tried adding X= and the
  phrase
  ON X before the RTNLIST option in the EXECUTE statement and still got
the
  same
  error message.
 
  EXECUTE with the RTNLIST option works fine in Universe.
 
  Any suggestions?
 
  tia,
 
  Dave
 
  Dave Taylor
  President
  Sysmark Information Systems, Inc.
  49 Aspen Way
  Rolling Hills Estates, CA 90274
  800-SYSMARK (800-797-6275)
  (O) 310-544-1974
  (C) 310-561-5200
  (P) 800-339-1497
  (F) 310-377-3550
  Your Source for Integrated EDI Translation and DataSync Integration
  www.sysmarkinfo.com
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Gordon J Glorfield
ECLTYPE P
BASICTYPE P


Gordon J. Glorfield
Sr. Applications Developer
UnitedHealthcare's Mid-Atlantic Health Plans
301-360-8839

[EMAIL PROTECTED] wrote on 03/30/2006 04:06:08 PM:

 Jerry,

 I haven't been able to find any reference to flavor  or PICK in the 
UD
 documentation, so I haven't declared a flavor (as far as I know).

 I would like to declare a PICK flavor but I don't know how to do that.

 Any suggestions?

 tia,

 Dave

 Dave Taylor
 President
 Sysmark Information Systems, Inc.
 49 Aspen Way
 Rolling Hills Estates, CA 90274
 800-SYSMARK (800-797-6275)
 (O) 310-544-1974
 (C) 310-561-5200
 (P) 800-339-1497
 (F) 310-377-3550
 Your Source for Integrated EDI Translation and DataSync Integration
 www.sysmarkinfo.com

 - Original Message -
 From: Jerry Banker [EMAIL PROTECTED]
 To: Dave Taylor [EMAIL PROTECTED]; 
u2-users@listserver.u2ug.org
 Sent: Thursday, March 30, 2006 12:34 PM
 Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

 
  Flavor?
 
  - Original Message -
  From: Dave Taylor [EMAIL PROTECTED]
  To: u2-users@listserver.u2ug.org
  Sent: Thursday, March 30, 2006 1:26 PM
  Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
 
 
  I have had a problem compiling a program in Unidata 7.1.0 that is 
taken
  from
   Universe that uses an EXECUTE statement with the RTNLIST option.
  
   To test this in its simplest  form, I entered the following test 
program
   and
   got the following result after compiling it:
  
   ED BP TEST
   0001EXECUTE SELECT CLIENTS  RTNLIST 1
   0002END
  
   Compiling TEST with the command BASIC BP TEST produced the following
 error
   message:
  
   Misuse of reserved word 'RTNLIST'
   Expecting: end-of-file,END
  
   This program appears to comply with the syntax described in the 
UniData
   Commands Reference manual with the exception that it does not 
contain an
   ON
   connection phrase which appears to not be an option but is 
described as
   UniData no longer supports this parameter, but is remains for 
syntax
   compatibility.
  
   Since I don't know what a connection is,  I tried adding X= and 
the
   phrase
   ON X before the RTNLIST option in the EXECUTE statement and still 
got
 the
   same
   error message.
  
   EXECUTE with the RTNLIST option works fine in Universe.
  
   Any suggestions?
  
   tia,
  
   Dave
  
   Dave Taylor
   President
   Sysmark Information Systems, Inc.
   49 Aspen Way
   Rolling Hills Estates, CA 90274
   800-SYSMARK (800-797-6275)
   (O) 310-544-1974
   (C) 310-561-5200
   (P) 800-339-1497
   (F) 310-377-3550
   Your Source for Integrated EDI Translation and DataSync Integration
   www.sysmarkinfo.com
   ---
   u2-users mailing list
   u2-users@listserver.u2ug.org
   To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread u2
Unidata doesn't have flavors, which isn't to say that it's tasteless.
You have the basictype and ecltype commands instead. Pluss all those
udtoptions.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
 Sent: Thursday, March 30, 2006 4:06 PM
 To: Jerry Banker; u2-users@listserver.u2ug.org
 Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
 
 
 Jerry,
 
 I haven't been able to find any reference to flavor  or 
 PICK in the UD documentation, so I haven't declared a 
 flavor (as far as I know).
 
 I would like to declare a PICK flavor but I don't know how 
 to do that.
 
 Any suggestions?
 
 tia,
 
 Dave
 
 Dave Taylor
 President
 Sysmark Information Systems, Inc.
 49 Aspen Way
 Rolling Hills Estates, CA 90274
 800-SYSMARK (800-797-6275)
 (O) 310-544-1974
 (C) 310-561-5200
 (P) 800-339-1497
 (F) 310-377-3550
 Your Source for Integrated EDI Translation and DataSync 
 Integration www.sysmarkinfo.com
 
 - Original Message - 
 From: Jerry Banker [EMAIL PROTECTED]
 To: Dave Taylor [EMAIL PROTECTED]; 
 u2-users@listserver.u2ug.org
 Sent: Thursday, March 30, 2006 12:34 PM
 Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
 
 
  Flavor?
 
  - Original Message -
  From: Dave Taylor [EMAIL PROTECTED]
  To: u2-users@listserver.u2ug.org
  Sent: Thursday, March 30, 2006 1:26 PM
  Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
 
 
  I have had a problem compiling a program in Unidata 7.1.0 that is 
  taken from  Universe that uses an EXECUTE statement with 
 the RTNLIST 
  option.
  
   To test this in its simplest  form, I entered the following test 
   program and got the following result after compiling it:
  
   ED BP TEST
   0001EXECUTE SELECT CLIENTS  RTNLIST 1
   0002END
  
   Compiling TEST with the command BASIC BP TEST produced 
 the following
 error
   message:
  
   Misuse of reserved word 'RTNLIST'
   Expecting: end-of-file,END
  
   This program appears to comply with the syntax described in the 
   UniData Commands Reference manual with the exception that it does 
   not contain an ON connection phrase which appears to not be an 
   option but is described as UniData no longer supports this 
   parameter, but is remains for syntax compatibility.
  
   Since I don't know what a connection is,  I tried 
 adding X= and 
   the phrase ON X before the RTNLIST option in the EXECUTE 
 statement 
   and still got
 the
   same
   error message.
  
   EXECUTE with the RTNLIST option works fine in Universe.
  
   Any suggestions?
  
   tia,
  
   Dave
  
   Dave Taylor
   President
   Sysmark Information Systems, Inc.
   49 Aspen Way
   Rolling Hills Estates, CA 90274
   800-SYSMARK (800-797-6275)
   (O) 310-544-1974
   (C) 310-561-5200
   (P) 800-339-1497
   (F) 310-377-3550
   Your Source for Integrated EDI Translation and DataSync 
 Integration 
   www.sysmarkinfo.com
   ---
   u2-users mailing list
   u2-users@listserver.u2ug.org
   To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.3.3/296 - Release 
 Date: 3/29/2006
  
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 3/29/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread colin.alfke
UniData doesn't call it a flavour. See the UDT.OPTIONS manual. It has
a section on which ones to set to provide greater Pick compatibility.
Also look at the $BASICTYPE command.

The big one is to turn UDT.OPTION 2 ON.

Hth
Colin Alfke
Calgary Canada 

-Original Message-
From: Dave Taylor

Jerry,

I haven't been able to find any reference to flavor  or 
PICK in the UD documentation, so I haven't declared a flavor 
(as far as I know).

I would like to declare a PICK flavor but I don't know how 
to do that.

Any suggestions?

tia,

Dave

- Original Message -
From: Jerry Banker 

 Flavor?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread Dave Taylor
Jerry, Bruce,

Thank you both for your questions and suggestions.

They led me to ECLTYPE=P and BASICTYPE=P.

The program compiled *after* I set BASICTYPE=P, even though there is no
mention in the documentation regarding the EXECUTE statement that  the
RTNLIST option only works when BASICTYPE is set to P.

I looks like the Unidata documentation isn't any better than the Universe
documentation.

Without you and others in this group, I'd be lost.

Thanks again for your help,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com

- Original Message - 
From: Jerry Banker [EMAIL PROTECTED]
To: Dave Taylor [EMAIL PROTECTED]; u2-users@listserver.u2ug.org
Sent: Thursday, March 30, 2006 12:34 PM
Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option


 Flavor?

 - Original Message - 
 From: Dave Taylor [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Sent: Thursday, March 30, 2006 1:26 PM
 Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option


 I have had a problem compiling a program in Unidata 7.1.0 that is taken
 from
  Universe that uses an EXECUTE statement with the RTNLIST option.
 
  To test this in its simplest  form, I entered the following test program
  and
  got the following result after compiling it:
 
  ED BP TEST
  0001EXECUTE SELECT CLIENTS  RTNLIST 1
  0002END
 
  Compiling TEST with the command BASIC BP TEST produced the following
error
  message:
 
  Misuse of reserved word 'RTNLIST'
  Expecting: end-of-file,END
 
  This program appears to comply with the syntax described in the UniData
  Commands Reference manual with the exception that it does not contain an
  ON
  connection phrase which appears to not be an option but is described as
  UniData no longer supports this parameter, but is remains for syntax
  compatibility.
 
  Since I don't know what a connection is,  I tried adding X= and the
  phrase
  ON X before the RTNLIST option in the EXECUTE statement and still got
the
  same
  error message.
 
  EXECUTE with the RTNLIST option works fine in Universe.
 
  Any suggestions?
 
  tia,
 
  Dave
 
  Dave Taylor
  President
  Sysmark Information Systems, Inc.
  49 Aspen Way
  Rolling Hills Estates, CA 90274
  800-SYSMARK (800-797-6275)
  (O) 310-544-1974
  (C) 310-561-5200
  (P) 800-339-1497
  (F) 310-377-3550
  Your Source for Integrated EDI Translation and DataSync Integration
  www.sysmarkinfo.com
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/