TRY

RUN BPCUST B$SOD16AE
DATA 2

Barry  Rogen
PNY Technologies, Inc.
Senior  Programmer/Analyst
(973)  515 - 9700  ext 5327
[EMAIL PROTECTED]

-----------------------------------------------------
Far better it is to dare mighty things, to win 
glorious triumphs even though checkered by
failure, than to rank with those poor spirits who
neither enjoy nor suffer much because they live
in the gray twilight that knows neither victory
nor defeat
----------------------------------------------------------------



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Tuesday, November 01, 2005 1:46 PM
To: U2-users (E-mail)
Subject: [U2] [UV] problem with DATA and INPUT

This is UV v9.6.1.3 on Windows.

I have a paragraph which in part looks like this:

RUN BPCUST B$SOD16AE
DATA <<2>>

Inside the program B$SOD16AE, I have a line like this:
 
  IF SYSTEM(10) THEN INPUT XML.TYPEX, 1
 
The problem is that the program halts at the INPUT as if it is waiting
for
input which has already been provided via the DATA <<2>>. I can see the
"2"
on my screen, and if I press ENTER the program continues, but does not
seem
to get the "2".

I must be doing something stupidly wrong, but I don't have it fixed yet
<g>.

Anybody got an idea as to where I've lamed-out?

P.S. the reason for the IF SYSTEM(10) is that the program gets called
from
other paragraphs that do not have the extra DATA statement.

Barry Brevik
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to