Operating System - OpenVMS
1827452 Members
4643 Online
109965 Solutions
New Discussion

Logical search list in Digital Test Manager

 

Logical search list in Digital Test Manager

Can I set a Digital Test Manager variable to be a logical search list? When I try, it gets translated to an invalid file specification.

The variable is set as:

value = dlvdisk:[dtm], dlv_root:[bin]
scope = local,
usage = logical,
type = string.

Test results are:
Starting DIRECTORY_TEST test run...

$ show log dlv_bin
"DLV_BIN" = "dlvdisk:[dtm], dlv_root:[bin]" (LNM$PROCESS_TABLE)
"DLV_BIN" = "DLV_ROOT:[BIN]" (LNM$GROUP_000240)
$ dir dlv_bin:directory_test*.txt
%DIRECT-E-OPENIN, error opening DLV_BIN:DIRECTORY_TEST*.TXT as input
-RMS-F-SYN, file specification syntax error


Can anyone help please?
4 REPLIES 4
Doug Phillips
Trusted Contributor

Re: Logical search list in Digital Test Manager

Try

$ define DLV_BIN dlvdisk:[dtm],dlv_root:[bin]

with no quotes.

-Doug
Dale A. Marcy
Trusted Contributor

Re: Logical search list in Digital Test Manager

I do not have Digital Test Manager to test this guess, but based on what you have shown, it appears that Test Manager is taking the right hand side of the value statement and placing it in quotes for the logical definition. Therefore, you are not getting a search list, but one logical defined to the entire string (including the comma). If my guess is correct, the following might work:

value=dlvdisk:[dtm]","dlv_root:[bin]

This is just a guess and does not carry any warranties, but I will give you back every penny you paid me for my guess.

Re: Logical search list in Digital Test Manager

I kept trying ideas after I posted the question and found the answer.

I originally entered the two directory specs in the value box without quotes. DTM added the quotes which combined the specs into a single string which is a syntax error for a directory specification. I re-entered the specs as two quoted strings separated by a comma.

value="dlvdisk:[dtm]", "dlv_root:[bin]"

DTM did not add any additional quotes and the logical was correctly translated as a search list in my test procedure.

Thanks for your responses.

Mike

Re: Logical search list in Digital Test Manager

Problem solved.