Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating parameter file with date?

Status
Not open for further replies.

Mishe

Technical User
Dec 9, 2004
1
US
Hi-

I am trying to update my parameter file (Unix) with the 'session start date'. I am doing this via a Post-session success command.

This is what I have working:

cd $PMSourceFileDir/SLXinterface;
cp param.txt param.old;
echo [IS.s_M_SLXinterface] > param.txt;
echo \$\$lastRunTime= >> param.txt;

I just need the session start time inserted as my lastRunTime value. I would like the format of last line to be:

$$lastRunTime=10/15/2004 00:00:00

I have tried using $SESSSTARTTIME, \$SESSSTARTTIME, and SESSSTARTTIME with no luck.

Any ideas?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top