473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Load the PS data into DB2 tables

Hi ppl,
The requirement is to load a table from a dataset which
has data in comma separated format.The data in the PS file looks
something like this...

A001,"KARNATAKA ",908345,"ALPHA"
B001,"ANDHRA PRADESH",903784,"BETA"
The platform on which i am using is IBM mainframe Z/OS V1R.
The DB2 version is 7.1
Can anyone provide me with the JCL which can do this loading ...
Pls mention where i have to make changes and to what in order to run
the JCL

Jun 12 '07 #1
1 4658
I don't know how you do it in JCL but on DB2 UDB (LUW).... you can do
something like:

db2 promptload from <datafile>.txt of del modified by coldel,
modified by chardel" insert into <tablename;

maybe you can find some information on the db2 information center
website.

http://publib.boulder.ibm.com/infoce...help/index.jsp

regards,
dotyet

On Jun 12, 5:58 am, kimi <mragh...@gmail.comwrote:
Hi ppl,
The requirement is to load a table from a dataset which
has data in comma separated format.The data in the PS file looks
something like this...

A001,"KARNATAKA ",908345,"ALPHA"
B001,"ANDHRA PRADESH",903784,"BETA"

The platform on which i am using is IBM mainframe Z/OS V1R.
The DB2 version is 7.1

Can anyone provide me with the JCL which can do this loading ...
Pls mention where i have to make changes and to what in order to run
the JCL

Jun 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4298
by: JS | last post by:
EE instance DB2 v7.2.0 fixpack 3 on WIN2K. I select some data from a table A and write it to a file using the COALESCE function and whitespace as the null character: eg coalesce(col1, ' '). This...
8
3555
by: DB2 Novice | last post by:
I am trying to use DB2 Control Centre (version 8.2) to load one flat file into multiple tables. However, I don't see the options in Control Centre that allows that. Anyone knows how to do this?...
3
8070
by: Kiran | last post by:
Hi, I want to back up my data in some table in SQL server and import it back using Bulk Load of SQL server 2K. I can use the following code to backup the data in XML ...
10
3990
by: aj | last post by:
DB2 WSUE LUW v8.2 FP4 (aka v8.1 FP11) RHEL AS 4 I am EXPORTing in IXF format from one schema and then LOADing into another schema on another server. The DB modeling tool I am using likes to...
1
3805
by: dbagirltx | last post by:
We have done some testing with mixed and forgotten results. So I'm hoping that asking here can clarify some issues for us. Right now we do one weekly warm backup. Throughout the week there are...
5
2159
by: Konstantin Andreev | last post by:
Recently I became interested, - Are the data, bulk loaded in the table with LOAD utility, consume the same disk space as loaded with IMPORT utility? The answer turned out to be NOT ! Here is a...
3
1278
by: rodchar | last post by:
hey all, i have an employee master table that i've broken up into many tables using normalization and what made logical sense (i.e. Education table, Equipment table, military history table, etc....
0
1704
DTV12345
by: DTV12345 | last post by:
Hello! I have been assigned to bulk-load data into several typed tables of our ODS. I am not clear as to whether it can be done. Here's my homework ===>>> The easy way is to perform INSERT...
0
938
by: =?Utf-8?B?Y29uc3RhbnRpbg==?= | last post by:
How to build an array to make it easy to read the data from Excel worksheet table then load the data into oracle.The table looks like this have 4 columns:1-entity name with two...
13
6576
by: rdudejr | last post by:
Hi all, I hardly ever make a post unless I am having a very purplexing issue, so this one should be good... I am trying to do a load against a database on an AIX server into a DB2 v9.1...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.