I'll assume you wanted to prompt for a data value when the PA is executed;
just remove the <<>> if not (as others stated).

If you do, then '2' might not be the best prompt; but perhaps you meant to
use the 2nd [required] command line token?  Then use <<C2>>.  If you want to
prompt the user for the value if not present on the command line, then use
<<I2,prompt.string>>.

-Keith

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Tuesday, November 01, 2005 10:46 AM
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