If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Problem generating DDL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-03, 12:47
F.OHANA F.OHANA is offline
Registered User
 
Join Date: Nov 2002
Location: Rio de Janeiro - Brazil
Posts: 78
Problem generating DDL

Greetings all,

Iīm running DB2 V7.2 FP10a on AIX V4.3.3

After installing this new FP on my servers I always get an error while trying to generate DDLs from the Control Center.

If the option "Use statement termination character" (Tools - Tools Settings - General) is not specified the job is run successfully, but when I open the results page thereīs an error saying the File could not be found. Browsing the folders at the server thereīs one file created with the command statement and one with the result (not the one expected), thus I got the impression the command was being interpreted as a part of the ECHO command. The command generated by Control Center to extract the DDLs and the file created from the execution of this command follows bellow:

-- File with the Command
echo db2look: /home/db/db2as/sqllib/db2_109.out

!db2look -d SAMPLE -t table_test -a -e -c -o db2_109.out
--

-- Wrongful result File
db2look: /home/db/db2as/sqllib/db2_109.out
!db2look -d SAMPLE -t table_test -a -e -c -o db2_109.out
--

If the "Use statement termination character" is specified an error stating that the "End of file was reached while reading the command".

Have you seen this before?

note: These errors are also generated for users that have admin access to the Database and Write Permission at the folder.

Iīve already downloaded and installed the newer Client version FP11_21333, but it didnīt solve the problem.

TIA,
Fernando

Last edited by F.OHANA; 12-29-03 at 12:53.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On