Results 1 to 3 of 3
  1. #1
    Join Date
    May 2012

    Unanswered: Db2 command editor closed but backend still processing

    Hi there, i need some opinion/suggestion.

    Im using db2 command editor (db2ce) as a query tool and mmy database is in As400 platform.
    Lets say i have a query that take 10 mins to show the result. Somehow before 10 min, my db2ce window is closed accidentally or theres a LAN disconnected. But my query is still running at backend as400 and it takes alot of resources.
    Is there a way that when db2ce close, job process backend also stop ?
    Is there any settings in db2 command editor interface ?

    Thanks before.

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    this is correct and I had the same
    db2 is not polling the agent as long as nothing to ship back - at that time db2 will cancel the result_set as client is not present anymore
    you will have to display the running appl on I/series and kill the process
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

  3. #3
    Join Date
    May 2012
    Thanks przytula_guy.

    "you will have to display the running appl on I/series and kill the process"

    Does this mean i have to login to as400 system and find the job and kill it manually (endjob) ?

    Based on your experience, what is a good query tool for as400 to avoid this kind of thing ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts