Quantcast
Channel: Toad for IBM DB2 Forum - Recent Threads
Viewing all 389 articles
Browse latest View live

RE: FTP UPLOAD

$
0
0

I don't know of any additional setting. Can you make a sample tas file and turn on verbose logging? Run the script and post both the tas file and log file. Please confirm the ftp activity is pointing the correct directory that you have privileges for. 


RE: FTP UPLOAD

$
0
0

On the pop-up message you can chose to not show me again and the error will only display in the footer of the app. But I notice that if you are in a different sql editor and working that it will give focus to the editor that just had the error. Are you asking to not give focus back to the editor that just had the error? 

FTP UPLOAD

$
0
0

I am trying to use toad TAS file do an upload a csv to an ftp site.  i am able to upload using another Utility,  but toad is giving me a FTP_1 - Could not create file. (code=553) error.  it is basically telling me i dont have access to write to the remote location.  As i said, i can write to it using another utility so i know it is not permissions.   Is there some setting in the ftp setup that i am missing?  maybe a setting or configuration in options or setup?

any help would be great. 

Thanks

RE: FTP UPLOAD

$
0
0

Got it figured out.  It had to do with the remote directory path.

RE: TOAD for DB2 - Getting Stack Trace Error in V3.3.0.1526

$
0
0

Hello,

Can you please post here Support Bundle generated by Toad for DB2 (click on Help | Support Bundle)?

Thanks

Ondrej

RE: Build a Where Clause in a Stored Procedure and then Use it in a Select Statement (Possible?)

$
0
0

Mojoala, have you ever written dynamic SQL before?  This seems fairly easy concept with dynamic SQL.

Build a Where Clause in a Stored Procedure and then Use it in a Select Statement (Possible?)

$
0
0

Is this even possible.  I've scoured the internet and can't find an answer.

BEGIN

Declare WhereClause VarChar(4000);

Declare Main  VarChar(3500);

Declare SubMain VarChar(500)

BEGIN         

Select Prev_Month_St_Dt Into BegOfPrevMon From TMSR_DATA_DATES;

Select Prev_Month_End_Dt Into EndOfPrevMon From TMSR_DATA_DATES;

SelectMonth(Prev_Month_St_Dt) Into CurMon From TMSR_DATA_DATES;

SelectDay(Prev_Month_End_Dt) Into LastDay From TMSR_DATA_DATES;

Set Main = "Yada Yada...."  ---about 50 lines of codes

Set SubMain to some other based on the select into values....about another 50 lines of code....

Set  WhereClause = Main || SubMain;

END;

BEGIN

DECLARE C1 CURSORWITHRETURNTO CLIENT FOR

Select yada yada yada From -- 500 lines of code

        Insert the WhereClause here

UNION

Select  yada yada yada From -- 500 lines of code

   Insert the WhereClause here

OPEN C1;

END;

END!

 

 

 

No default 64 bit db2 client was found

$
0
0

Hi I joined this company 6 months before and I installed this Toad. My company has 3 seat license. I installed and applied the license and all good. Now when I try to connect it says that there is no 64 bit db2 client. How can I achieve this. 


RE: No default DB2 client

$
0
0

Can anyone paste the actual instructions. The Dell and Toad ppl really crazy that they don't even share the knowledge base in public and say that Maintenance period expired.

RE: No default DB2 client

$
0
0

Here you go:)

  • Title

    Toad for DB2 6.0 and newer, DB2 client requirements. Error: "Toad did not find a default DB2 client"
  • Description

    On launch of Toad for DB2, the error "Toad did not find a default DB2 client" is given. Toad will continue to open after clicking OK to this message, but there may be further issues connecting to the database. 

    (Considering Toad Data Point  can connect to DB2 databases, this would also be the same scenario for Toad Data Point 3.6 and higher as well.)

  • Cause

    This applies to version 6.0 and future releases of Toad for DB2.  Previous Toad versions are not affected.

    Beginning in version 6.0, Toad for DB2 will no longer include or be shipped with an IBM DB2 Client. 

    Users will need to install an IBM DB2 Client separately, and this may need to be set as "default" within Toad (Options | Database | DB2 ). 

    (This applies to version 3.6  and future releases of Toad Data Point, as well.)

  • Resolution

    1. Go to the link below. Download and install an IBM DB2 client:

    www-01.ibm.com/.../docview.wss

    Download the package noted as: 

    "IBM Data Server Runtime Client" (2nd item)

    Note: If there are any issues with the download or install of the client itself, please follow up with IBM DB2 Support for further assistance with the client.

    System Requirements notes support for the following... 

    Toad requires that a DB2 Client version 9.7.6 through 10.5.be installed as default.
    These DB2 Client versions were tested: 9.7.6, 9.7.9 ,10.1.0, 10.1.2, 10.1.3, 10.5.0, 10.5.2, and 10.5.3

    Toad for DB2 6.0 Release notes:
    dev.toadfordb2.com/.../ToadDB2RN.htm

    2. Set the default DB2 client in Toad Options:

    Once the client is installed locally to Toad, launch Toad. If the message "Did not find a default driver" is still encountered, click OK and in Toad, go to Options | Database | DB2 | General | and set the default DB2 client. The drop down may display previous Toad clients, but do not select these as the default, as this will not be saved and applied.

    Only the full IBM DB2 client can be used as default. If you have multiple clients installed, then you will need to specify one in the Toad Options. Once this is set, Toad will need to restart. On the next launch, there should be no prompt regarding default client and Toad should be able to connect to the databases as usual. 

    3. If multiple IBM DB2 Clients are installed in your PC, please set one as 'Default' by going to the Windows Start Menu | All Programs | choose the IBM DB2 client you want to set as 'Default' (do not use clients that came from old Toad versions) | and then use the "Default DB2 and Database Client Interface Selection wizard" to set that particular IBM DB2 Client as Default.

  • Internal Notes

    Beta release July 2014. Further work with this is still being done by development. Please check ToadWorld for more updated info about Beta and requirements.

No default DB2 client

$
0
0

I have installed Toad 6 freeware for WIN32 but not able to proceed with setting up connections. It asks for a client on application start. Is there a separate windows installer which is required or should there be a DB2 JAR (or a similar driver) in the installation directory ?

RE: No default 64 bit db2 client was found

RE: No default DB2 client

RE: No default 64 bit db2 client was found

$
0
0

Ok I installed the DB2 Server client and I now see Toad can recognize the default DB2 Client. 

Now When I click on Catalog Server / DB window while cataloging I get following errror

"DB21018E A system error occurred. The command line processor could not continue processing."

Also when I open my DB2 Command line processor I get the following error.

DB21018E A system error occurred. The command line processor could not
continue processing.
C:\Program Files\IBM\SQLLIB\BIN>

RE: No default 64 bit db2 client was found

$
0
0

I'm good now. Installed a wrong product.

Thanks for your assistance.


RE: Build a Where Clause in a Stored Procedure and then Use it in a Select Statement (Possible?)

$
0
0

I ended up building the query as a string.

doing it dynamically would have made it extremely bulky. 

RE: Build a Where Clause in a Stored Procedure and then Use it in a Select Statement (Possible?)

$
0
0

I am confused and was wondering if you could show me an example of what you ended up doing.  How is building the query as a string and dynamically building the string the same thing?

I have written my where clause as something like this.

Where (@Parm1 is null or @Parm1 = col_1)

and (@Parm2 is null or @Parm2  = col_2)

Nodes from Toad 6.2 automation script corrupt the Toad 6.3 file

$
0
0

Hi,

I spent almost three hours building an automation script to find that it got corrupted. When I tried to open the script I got a notice that this script was created with a previous version ( which it wasn't) and asked if I want to convert it to 6.3. When answering yes, I got an empty script.

I had no choice but to start over. As I did I checked every few steps if it was still valid and found the cause for the corruption.

As this script was similar to another one I am using, I copied some nodes from the original one. Although the original one was created in a previous version, it was works well in version 6.3. Copying the nodes to a new automation script somehow caused the corruption.

The nodes I had were setVariable and save select to Editor with Results.

If necssary, I'll try to upload the relevent files.

Sincerely,

Shimon J.

Cancel Query

$
0
0

Hello,

I use to be able to cancel my query in Toad before I am now noticing it's not working like it use.  I am not sure if this is a TOAD issue or a Db2 z/OS issue.  I know I can't cancel threads on z/OS, but Toad was always good about canceling my query  after the warning of records being pulled back.

If I run a query that takes a long time I get the following message:

I would then say Yes.But now it seems like my query has canceled but i can't run any other queries unless I force close out of Toad via task manager.

I never had this issue before 6.3, but I am not sure like I said if its related to 6.3 or some change on the RDBMS.

Thanks for your help.

Toad for DB2 6.3.0.269 (64 bit) for z/OS.

RE: Cancel Query

$
0
0

Hi Robert,

This is an old /new issue. Previous to version 6.2 this happened to me all the time. In version 6.2 this got corrected, and now I'm experiencing  it again.

Another issue that came back ( I think), is when I run a script across many schema(s). If one of the files is empty, it hangs. This was corrected in version 6.2 and got messed up in version 6.3.

I am not going to stop using version 6.3 as the compare to excel feature makes life much easier for me, but I would like the big boys to check this out.

Have a great day,

Shimon J.  

Viewing all 389 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>