T.R | Title | User | Personal Name | Date | Lines |
---|
1908.1 | Try the ALL-IN-1 LOGICAL function? | SANFAN::LESLIE_DA | Greetings & Solutions | Mon Dec 07 1992 01:20 | 7 |
| Have you tried using the ALL-IN-1 function called LOGICAL to define a
process logical?
There is probably a limit of what can be passed to DCL with oa$DCL and
I *thought* the limit was 255.
Dan
|
1908.2 | A possibility | IOSG::SHOVE | Dave Shove -- REO2-G/M6 | Mon Dec 07 1992 15:49 | 17 |
| Get OA$DCL (and any other method of writing to the subprocess) chops
the string into "lines", with a - at the end of each except the last.
So presumably this is why the logical gets messed up.
Looking at the code, I see that there is special provision for handling
quoted strings (as splitting such a string in this way wouldn't work).
If the line would end in the middle of a quoted string, ALL-IN-1 chops
it into two strings separated by "+" - so the subprocess sees:
.... "this is a jolly"+-
" long string"
Whether this would help in your case (putting the thing you want to
define as your logical in quotes) I'm not sure, but it might be worth
trying.
D.
|
1908.3 | Kludge | BRUMMY::MARTIN::BELL | Martin Bell, TCC, Birmingham UK | Tue Dec 08 1992 08:56 | 15 |
| ... or if you _have_ to do it via OA$DCL, try splitting the logical
into separate DCL symbols, eg.
get oa$dcl='a="the first bit of the logical"'
get oa$dcl='b="the second bit of the logical"'
get oa$dcl='c="the third bit of the logical"'
then do a
get oa$dcl="define thingy ""''a'''b'''c'"""
The quotes may seem a little confusing, but it should work!
mb
|