[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

232.0. "Passing parameters from FOCUS to DCL" by MLNAD2::SCHREURS () Mon Jul 03 1989 05:54

The following FOCUS example program doesn't work as we expect:

-SET &ABCDE ='A01234567890123456789012345678901234567890123456789012345678';
-SET  &FGHI ='A01234567890123456789012345678901234567890123456789012345678';
-VMS WRITE SYS$OUTPUT "&ABCDE","&FGHI"
-QUIT FOCUS 1

The result is that DCL writes only the first 70 characters.

The real program gathers some parameters from the (FOCUS) screen and uses these
parameters to submit a command file. As we want to pass seven parameters, we
hit the problem of truncation, which is explained in the simplified example
above.

We know that is possible to use files, but we don't want to use them (because
of performances problems) and we want to obtain the result using only one "VMS"
instruction (because the SPAWN command is heavy for the machine too).

Has somebody already solved this problem?

Many thanks in advance.

			Andrea Antonangeli  DTN 869 4855
                        Jos Schreurs        DTN 869 4727
    
T.RTitleUserPersonal
Name
DateLines