Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 data creation and load question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject:
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    Post subject: Reply to: DB2 data creation and load question
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

Senior Member


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

PostPosted: Wed Dec 30, 2009 5:32 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us