home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!fmsrl7!lynx!hydra.unm.edu!hamjavar
- From: hamjavar@hydra.unm.edu (Farid Hamjavar)
- Subject: summary
- Message-ID: <lxnq6+d@lynx.unm.edu>
- Date: Fri, 20 Nov 92 23:21:15 GMT
- Organization: University of New Mexico, Albuquerque
- Lines: 43
-
-
-
-
- I thanked everyone for answering my DCL parameter passing question, and
- someone asked me that I should post a summary. Ok.
-
- Two types of answers were given :
-
- 1. Generally, parameters/qualifiers passed to a user-written script
- must be surrounded by "" if they contain /
-
- Example :
-
- application "/param 1" "/param 2" .....
-
- I did not use these answers not that they are wrong, they were not
- meeting specific problem that I was facing.
-
-
- 2.A Create a symbol for the script-file such as :
-
- application = "@user5:[farid.work]application.com """" "
-
- I chose this one because it is indeed very clean.
- A NULL string will be passed to .com script as P1.
- In this method the first parameter gets hosed, so within
- the application.com one must do simple adjusting.
-
-
- 2.B Create a symbol for the script-file such as :
-
- application = "@user5:[farid.work]application.com % "
-
- Same as 2.A really. Except that % will be passed as P1.
-
-
-
-
-
- Thanks again
- Farid Hamjavar
- University of New Mexico -- CIRT
-
-