Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Scheduled job calling DB2cmd

 
   Database Help (Home) -> DB2 RSS
Next:  Help will pulling records based of another table  
Author Message
randi.clausen

External


Since: Dec 24, 2008
Posts: 1



(Msg. 1) Posted: Wed Dec 24, 2008 12:53 pm
Post subject: Scheduled job calling DB2cmd
Archived from groups: comp>databases>ibm-db2 (more info?)

OS: Windows 2003
DB2: v9 FP1 (wr21380), LUW
I want to schedule a bat file that will execute a db connection, run a
select statement writing the results to a file, and then disconnect
from the database. Without setting any of the DB2bqtime, DB2bqtry,
Db2rqtime, or DB2iqtime I would get an error saying no connection to
database exists. Then I set DB2bqtime to 420, DB2bqtry to 120,
Db2rqtime to 5, and DB2iqtime to 5 with the DB2set command. Now the
CLP window opens but just sits idle and nothing is written to my
output file. I have read the "Command Line Processor Features" from
the infocenter but so far I am not movnig ahead on this project. Can
someone give me guidence on how to get this working. BTW, in version
8 this bat file ran flawlessly using the /i /w /c db2cmd parameters.
My testing has included using these as well as not. Thank you for
suggestions to help me solve this problem!

 >> Stay informed about: Scheduled job calling DB2cmd 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Calling Runstats from VBA - I am attempting to call RUNSTATS_KEY from VBA code and everything looks coorect to me, however when I run it, it errors out. The code snippet is below... Set cmd = New ADODB.Command cmd.ActiveConnection = conDatabase ...

calling SP from UDF - Hello All. I developed a Stored Procedure for generic paging from any table. It is working fine: --#SET TERMINATOR ! CREATE PROCEDURE TAB_SEL_ANYPAGE(TNAME CHAR(20),PREDICATE VARCHAR(1000), N INTEGER,PAGE_NO INTEGER) LANGUAGE SQL READS SQL DATA RESULT...

DB2 UDB LUW 8.2:clp 32 bit connect to 64 bit engine - Environment: DB2 UDB LUW (AIX) 8.2 Database instance: test migration to 64 bit Clients: 32 bit, embedded sql, db2 clp When PATH/LIBPATH point to the 32 lib environment (/usr/opt/db2_08_01/bin and (/usr/opt/db2_08_01/lib) db2..

How to reterive the last 5 records in a table? - Hi I have a table which contains number of rows. I want to fetch the last 5 records from the table. I know for the first 'n' records we can use FETCH FIRST n ROWS ONLY command. But i want to fetch last 5 records. Can any one help in this... ..

"FIND" command is narrowed - In the ISPF editor I am using, for a particullar PO Dataset I am getting the result of FIND statement narrowed down to the colums 48-56. i.e. if I give "FIND 'TO' ALL", the result I am getting as "CHARS 'TO' - found 239 times within colum...
   Database Help (Home) -> DB2 All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]