NT UDB 7.2 fp6 I have a routine which 'distributes' copies of various databases to developers. When I call it from a command window like this...
refresh databasename version It all works fine. The routine(refresh) contains various connects, zip/unzips, drops, aliases, pushes and pops, db2moves etc etc. When I supply a one line NT command file which calls the routine from a central location like this... Centralrefresh databasename version I get various authentication problems, for example a connect to a database will succeed but the next db2move/import fails with 'wrong user/password'. Or sometimes I get an error indicating 'unexpected error' after a connection. It's almost as if when the routine goes to two levels of depth (Routine A calls B, B does the work) that I am losing part of the CLP environment. Yet strangely the first level of call is ok even though it is to a file containing mixed NT command and calls to DB2. Only when I have a seemingly, innocuous call to the call does it fail and fail inconsistently. Does anyone have any ideas about how I could achieve what I am trying to do? Regards, Steve T - ::: When replying to the list, please use 'Reply-All' and make sure ::: a copy goes to the list ([EMAIL PROTECTED]). *** To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED] *** For more information, check http://www.db2eug.uni.cc
