[U2] Command-line oddity in Unidata

2008-08-30 Thread David L. Rotman
If I run this paragraph:

001: PA
002: RUN LOCAL.SOURCE DAVE \
003:   LITERAL 'A' \
004:   FIELD1 \
005:   LITERAL 'ENTER SOMETHING,1-30X' \
006:   FIELD2 \
007:   EVAL IF STU.CLASS = 'FR' THEN '1' ELSE '2' \
008:   FIELD3

and enter ABC in response to the inline prompt, program DAVE sees the following 
command line:
 RUN LOCAL.SOURCE DAVELITERAL 'A'FIELD1LITERAL ''ABC''FIELD2
EVAL IF STU.CLASS = 'FR' THEN '1' ELSE '2'FIELD3
Note that ABC is surrounded by pairs of single quotes.

If move the EVAL line to a spot earlier in the paragraph

001: PA
002: RUN LOCAL.SOURCE DAVE \
003:   LITERAL 'A' \
004:   FIELD1 \
005:   EVAL IF STU.CLASS = 'FR' THEN '1' ELSE '2' \
006:   LITERAL 'ENTER SOMETHING,1-30X' \
007:   FIELD2 \
008:   FIELD3

my program sees:
RUN LOCAL.SOURCE DAVELITERAL 'A'FIELD1   EVAL IF STU.CLASS = 'FR' THEN 
'1' ELSE '2'LITERAL 'ABC'FIELD2FIELD3
Note that ABC is surrounded by single quotes rather than pairs of single quotes.

Is this difference in behavior to be expected?  Am I missing something obvious?




Dave Rotman
Associate Vice President for Technology
Chief Information Officer
Cedarville University
251 N. Main Street
Cedarville, OH 45314
[EMAIL PROTECTED]
voice 937-766-7905
fax 937-766-8819
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Command Line

2007-09-18 Thread jjuser ud2
I see that this is the command line that was executed for one of my
processes.  Can anybody either explain the parameters to me, or point
me to which document describes them?

udt.exe UDTlServer.exe 208 192.168.10.182 0 0
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/