Update: The program only failed when it included an open along with the
MERGE.LIST command. The work-around, is to create a separate process which
is phantom'd by the first phantom, this second process does the SAVE.LIST
which the first process can read.

No one has ever explained where the MERGE.LIST and OPEN are colliding in the
phantom session when they aren't in the TCL session. 

> -----Original Message-----
> Question: what is the setup for the phantom environment to make the
> program
> work the same way it does from tcl? I've looked a several UDT.OPTIONS but
> can't seem to uncover the secret key.
> 
> WinNT, Unidata a Paragraph (PH) works fine from tcl, but when executed by
> a
> phantom'd basic program the merge.list command within the paragraph seems
> to
> fail with the message 'Can not access list ML3516_1.'
> 
> The output from the _ph_ file when it fails.
> 
> 169 key(s) saved to 1 record(s)
> 163 records retrieved to list 1
> 169 records retrieved to list 2
> Can not access list ML3516_1.
> The environment is 'p', but the program uses UDTEXECUTE "PARTSLISTS" and
> UDTEXECUTE "GET.LIST DIFFLIST"
> 
> The second pass, all the selects seem to fail and come up with 0 records
> selected.
> 
> Notes: WinNT, Unidata, "P" environment
> 
> The program works fine when run from tcl, but not when phantomed.
> The login checks the @USER.TYPE and bypasses any login setup info.
> The program has $BASICTYPE "u", and does a UDTEXECUTE 'ECLTYPE "U"' as
> well
> The paragraph contains ECLTYPE "U" as the first line.
> 
> The paragraph which works fine from tcl or udtexecute a program run from
> tcl.
> 
> 001: PA
> 002: ECLTYPE "U"
> 003: BASICTYPE "U"
> 004: SSELECT ITMMST
> 005: SAVE.LIST NEWPARTS
> 006: GET.LIST OLDPARTS TO 1
> 007: GET.LIST NEWPARTS TO 2
> 008: MERGE.LIST 2 DIFF 1
> 009: SAVE.LIST DIFFPARTS
> 010: GET.LIST NEWPARTS
> 011: SAVE.LIST OLDPARTS
> 
> 
> 
> Clue: I have also been getting a strange
> stat ITMMST message and open fails when I try to open a file the second
> time, even though I closed it. Currently doings an OPEN "","ITMMST"
> READONLY
> TO PFILE
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> [demime 1.01d removed an attachment of type image/gif which had a name of
> graycol.gif]
> 
> [demime 1.01d removed an attachment of type image/gif which had a name of
> pic07704.gif]
> 
> [demime 1.01d removed an attachment of type image/gif which had a name of
> ecblank.gif]
> -------
> 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