I am really confused by some syntax in the DCL of OpenVMS. For example, these are some of the lines which confused me:
$ wo = "write sys$output"
Does it create a symbol wo
for write sys$output?
$ billing_run_number == p1
Is p1
a parameter passed to the .com file when it was executed? How many parameters can it be supplied with?
$ wo "BILLING_RUN_NUMBER = ''billing_run_number'"
Is ''abc' substituted by the content of the symbol abc? Why is it ''abc' but not 'abc'? Can we use ""?
$ if ((status .nes. "P") .and. (status .nes. "M")) .or. (ftp_status .nes. "Y")
What does .nes.
mean? equal? I've also seen .ne. , .eqs. too. What is the different of them?
Why are "and" and "or" surrounded by two dots? A DCL specific syntax?