Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Prompt $p$g
Name: waleed87 Date: February 7, 2004 at 23:44:19 Pacific OS: XP CPU/Ram: 2.5GHz
Comment:
Does anyone know how to add a name to the "$" on DCL? I want something like "myName$"
Name: Hakan Andersson (by HakAnd) Date: February 8, 2004 at 01:12:57 Pacific
Reply:
The command to change your prompt is
$ SET PROMPT="new prompt"
/Hakan
0
Response Number 2
Name: yumashev Date: February 8, 2004 at 05:24:09 Pacific
Reply:
If you neead a variable prompt (e.g. tracking your current directory), the solution is to write a DCL command procedure (e.g. cd.com) which performs both change of directory and change of prompt. Or you can find suitable tools in FILESERV archives: http://www.process.com/openvms/ The primary FTP site is ftp.process.com [.VMS-FREEWARE], and the primary mirror is ftp.tmk.com [.VMS-FREEWARE].
Summary: As a side project at work, I am to program in fortran on the vax. I don't want to use stardard text formatting for input and output in my programs. I was wondering if someone could tell me how to fi...