Title: RE: [DB2EUG] How To use AIX scripts into Windows environment?

I have a Program/keyboard shortcut which does the following:

"C:\Program Files\SQLLIB\bin\db2cmd.exe" DB2CYG.BAT

where DB2CYG.BAT (in C:\Program Files\SQLLIB\bin) contains:

@echo off
if "%OS%" == "Windows_NT" goto winnt
set LANG=En_US
set DB2CODEPAGE=850
goto end
:winnt
chcp 1252
:end
cls
%1 %2 %3 %4 %5 %6 %7 %8 %9
bash --login -i
exit


Marcus Davage CEng MBCS
IBM Certified Solutions Expert
 DB2 UDB V7.1 Database Administration for UNIX, Linux, Windows and OS/2
 DB2 UDB V7.1 Database Administration for OS/390
'The views expressed are my own and do not necessarily represent the views or policy of my employer, Lloyds TSB Bank plc.'



---------------------------------------------------------------------------------------------------------------
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.

evolvebank.com is a division of Lloyds TSB Bank plc.
Lloyds TSB Bank plc, 25 Gresham Street, London, EC2V 7HN. Registered in
England, number 2065. Telephone No: 020 7626 1500
Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street,
Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone
No: 0131 225 4555

Lloyds TSB Bank plc and Lloyds TSB Scotland plc are regulated by the
Financial Services Authority and represent only the Scottish Widows
and Lloyds TSB Marketing Group for life assurance, pensions and
investment business.

Signatories to the Banking Codes.
---------------------------------------------------------------------------------------------------------------

Reply via email to