Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
Is there a known problem trying to use the INQUIRE dcl command from within the subprocess? A customer has complained that it won't work for her. I created a simple a.com file containing: $inquire test "Test" and it doesn't work for me either. Thanks, Cb.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2357.1 | Use READ/PROMPT instead of INQUIRE | BRUMMY::MARTIN::BELL | Martin Bell, NTCC, Birmingham UK | Thu Mar 04 1993 11:10 | 19 |
You cannot use INQUIRE because ALL-IN-1 redefines your input to be a VMS mailbox, which can't handle the "read-with-prompt" QIO that INQUIRE uses. Because INQUIRE reads from the EXEC mode logical name SYS$INPUT, you cannot redefine it elsewhere either. You _can_ use READ/PROMPT command, and point it to the REAL terminal as an input device. This is a better solution even in normal command files, because you can trap CONTROL-Z, you can timeout after a given number of seconds, and it doesn't cause the security holes that happen with INQUIRE. You do have to remember that READ does not automatically UPPERCASE the text however! Give it a try, cheers, mb | |||||
2357.2 | spawn | AIMTEC::BUTLER_T | Fri Mar 05 1993 16:00 | 6 | |
From the ALL-IN-1 subprocess - Yes. You could use the SPAWN function and use Inquire if you wish. Tim |