[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
|
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
5687.0. "Application Launching, YAP - Yet Another Problem" by STKHLM::BERGGREN (Nils Berggren EIS/Project dpmt, Sweden DTN 876-8287) Wed Oct 27 1993 09:13
Hi,
once again there's a problem with Application launching.
The DEF-file looks like
del_key:*
menu: telia
button: test
mult_select_policy: PASS_ALL
binary: @sys$Login:mcc_appl_test.com
env_type: terminal
argument: <datafile>
argument: <node4.!.name>
argument: " *<node4.!.Remarks>* "
endmenu
and the SYS$LOGIN:MCC_APPL_TEST.COM looks like:
$ Set NoOn
$ say := "write sys$output"
$! check if a data-file is passed
$ IF F$Extract(0, 12, p1) .EQS. "MCC_LAUNCHED"
$ THEN ! type datafile
$ say "---------- contents of ''p1' -----------------"
$ Type 'p1
$ say ""
$ ELSE ! write arguments p1-p8
$ n = 0
$ p_loop:
$ n = n+1
$ IF n .GT. 8 THEN GOTO pause
$ say " p''n' = ", p'n
$ GOTO p_loop
$ ENDIF
$!
$ pause:
$ Inquire pause " return to exit"
$ EXIT
This works fine as long as there's a value defined in the REMARKS-field
but if the REMARKS-field is empty, I get a value of "3" as the second
argument...?
Selecting three NODE4 entities and launching the test-application I get the
following output:
---------- contents of MCC_LAUNCHED_131740.DAT -----------------
NAME : GNP
NAME : HNP
NAME : KNP
REMARKS : 3
REMARKS : Larm
REMARKS : LARM = .telia.c.nmsystem, reference .telia.c.ref_gc976
return to exit:
Looking at the remarks-field from DECmcc on the node GNP I get:
$ FCL SHOW NODE4 GNP REMARKS
DECmcc (V1.3.0)
Node4 GNP
AT 27-OCT-1993 13:20:25 References
Remarks = -- Attribute Not Available
The behaviour is the same for for all reference-attributes if not set,
I get a "3" back into my launched application.
It seems to be the same problem regardless of entity-class.
Any ideas?
This is getting quite anoying, I discover a problem in application launching,
I do a workaround which use the remarks-field, and now I can't get that to
work....
/Nils
T.R | Title | User | Personal Name | Date | Lines |
---|
5687.1 | ex | WELLIN::MCCALLUM | | Fri Apr 08 1994 06:17 | 7 |
|
I have made some progress, a datafile is created if you select multiple
entities, but not if you only select one.
Presumably if we want to pass a datafile with one entitiy we have to
use the version 1.2 launch capability.
|