Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> NT 4 batch for time/date is not compatible with NT2000

NT 4 batch for time/date is not compatible with NT2000

From: Joe Caporina <spam_at_nospam.com>
Date: Wed, 9 Oct 2002 11:08:43 -0700
Message-ID: <3da453b0$1_8@news.newsgroups.com>


Migrated from NT4 to NT2000 and the batch for setdate/time varables are not comaptible with NT2000 DOS , Does anyone know where to get an updated setdate shareware or there any work arounds if not available.

the DOS batch file to setup timestamp: d:\oracle\admin\PDS\script\setenv.bat

the export batch file which calls setenv.bat: d:\oracle\admin\PDS\script\exp.bat and exp1.bat

contents of exp.bat:

cd/d d:\oracle\admin\PDS\script

setdate >setenv.bat

call setenv.bat

call exp1.bat

sendmail -t user_at_company.com -f parapp06 -s "PARAPP06 CHECK - PDS" -b \\parapp06.pap.starent.com\d$\oracle\admin\PDS\exp\pdsexp%TODAY%_%HR%_%MIN%. LOG contents of exp1.bat:

exp dba_opr/exp_backup full=y
file=d:\oracle\admin\PDS\exp\pdsexp%TODAY%_%HR%_%MIN%.DMP LOG=d:\oracle\admin\PDS\exp\pdsexp%TODAY%_%HR%_%MIN%.LOG

contents of setenv.bat; Uses setdate.com shareware

SET TODAY=021009
SET YR=02

SET MTH=10
SET HTH=22
SET DAY=09

SET HR=07
SET MIN=48
SET SEC=38
SET CENT=20
SET DOW=We
SET DL=Wednesday
SET DFS=282 Contents of Setdate Shareware documentation
SETDATE.DOC               Version 1.C                           1994.12.29

ÄÄÄÄÄÄÄÄÄÄÄ                                                     ÄÄÄÄÄÄÄÄÄÄ



No change in this documentation is permitted beyond the ==== line above.

sample data:

YR MTH DAY HR MIN SEC HTH DOW DL TODAY DFS LY NY TDAY UDAY CM CD WOY NM P4 3 8 P5 720 880 AD5 1 AD3 -30 =

Those variables that the user wants to have in his environment are found

before the first "=" sign at the start of this file. SETDATE.COM reads

this documentation file to determine which of the variables is required

unless one parameter is used, see SETDATE.TXT.

The set of possible variables is:

YR MTH DAY HR MIN SEC HTH DOW D3 DL TODAY TMTH UMTH DFS DTE WOM NS LY NY CENT TH UH TM UM TS US THU UHU 12H TDAY UDAY CM CD WOY NM MX P0, P1..P9 AD0, AD1..AD9

Further details and examples are in the SETDATE.TXT file.

  Name Original Packed Ratio Date Time Attr Type CRC

SETDATE.TXT

                   10491      4252  40.5% 94-12-29 23:06:00 a--w -lh5- 1224



There is no fee for this program, but copyright remains with the author.

No change is allowed to the program or documentation (beyond that

described above). If you feel inclined to send a postcard, it would

be appreciated. Suggestions welcome.

DISCLAIMER Fitness for purpose is determined by the user. The author is not liable

for any incidental, consequential, direct or indirect damages caused by

use of this program. Whoever uses the program, whatever his age or mental

capability, bears all risk as to the performance of the software.

Geoff Cutter

203 Como Pde East

Parkdale

Australia 3195

#

-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------

   http://www.newsfeed.com The #1 Newsgroup Service in the World! -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =----- Received on Wed Oct 09 2002 - 13:08:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US