IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 data creation and load question


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
santosh100678

New User


Joined: 21 Sep 2009
Posts: 55
Location: Kolkatta

PostPosted: Wed Nov 04, 2009 2:08 pm
Reply with quote

Hi,

I have try to take input file and insert data of input file in db2 table where some db2 column are varchar also.

you mention in your query about select statement

Select * from users where clue > 0
SQLstate=02000

could you please telll about how i insert data in db2 table by using input as a file throu jcl.
Back to top
View user's profile Send private message
rexzone1

New User


Joined: 16 Dec 2006
Posts: 14
Location: Halifax, Canada

PostPosted: Wed Dec 30, 2009 12:21 am
Reply with quote

Hi Satish,

Please search the DB2 forum before asking queries.
I found the below link on how to load the data using a flat file.

<http://ibmmainframes.com/viewtopic.php?t=42246&highlight=load>

Try this out and then let us know for any issues.
Hope this helps.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 30, 2009 5:32 pm
Reply with quote

santosh100678 wrote:
you mention in your query about select statement

Select * from users where clue > 0
SQLstate=02000
36_11_6.gif

GuyC would be amazed on your though process...LOL.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top