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 > Easytrieve DB2 error in SQL commands

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-07, 14:52
lantz13 lantz13 is offline
Registered User
 
Join Date: Jan 2007
Posts: 2
Easytrieve DB2 error in SQL commands

After I ran the job that execute Easytrieve program I get the following:

B204 SQL - "SELECT INTO" IS VALID ONLY FOR SQLSYNTAX OF NONE AND STATIC-ONLY BIND


To overcome this problem I changed the PARM to

PARM SSID('DBT2') SQLSYNTAX NONE BIND STATIC-ONLY


Then I received the following in every SQL command

INVALID OR MISSING STATIC COMMAND PROGRAM NAME


what does it means?
Reply With Quote
  #2 (permalink)  
Old 01-16-07, 00:28
lantz13 lantz13 is offline
Registered User
 
Join Date: Jan 2007
Posts: 2
I forgot to mention that the platform is MF MVS (z/OS) EasyTrieve batch program with DB2 SQL commands.

it seams that i need to define a "static command program" but i don't know where.

Help Please.
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