HP OpenVMS Systems

ask the wizard
Content starts here

Adding System Time to DCL Prompt?

» close window

The Question is:

I want to be able to track the passage of time during batch runs.  In another
 job, we had included a command that ran during batch jobs that, when Verify
 was ON, would include a current timestamp in the prompt.  I have not been able
 to duplicate this feat
The idea is to display the time that each command is encountered so one can
 tell how long each command took to run.  Remember, it was part of the prompt.
Do you know how this might be done?

The Answer is :

    The DCL command SET PREFIX may be what you are looking for.
    See the DCL documentation or HELP.

answer written or last revised on ( 13-NOV-2002 )

» close window