Loading Data from a file recieved from Mainframes
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Loading Data from a file recieved from... Expand / Collapse
Author
Message
Posted 5/22/2006 6:49:04 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/13/2008 3:39:40 AM
Posts: 12, Visits: 2
Hi,

We need to load data into TD tables using the file we recieve from Mainframes.
But the file which we receive from mainframe contains the data in packed integers and packed Decimals, i.e. in Binary and EBCDIC format due to which it cannot be loaded using MLOAD utiliy.

The same file is easily read by DB2 directly without any conversion but for TD we are facing problem.

So we need to first convert the file using some COBOL program into a TD readable format, which is then loaded using MLOAD.

Is there any way using TD tools and utilities, that we convert the file and load it?

Thanks in advance.

Regards,
Tanu.
Post #4212
Posted 5/22/2006 8:50:09 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/22/2008 3:48:36 AM
Posts: 173, Visits: 5
While reading the documentation for Multiload "Run-Time Parameters" I've found that a run-time parameter is "CHAR SET=VALUE" for channel attached systems (or "-c VALUE" for network attached systems).

Read more about it to see if it would fulfill your needs.
Post #4213
Posted 5/24/2006 8:28:28 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/13/2008 3:39:40 AM
Posts: 12, Visits: 2
Thanks a lot for the help!

But the problem is still not solved, actually the TD is on network-attached, so when we get the data file from MVS system on the staging server it is converted in a format which is readable by the TD system using some program.

If the data file is in the EBCDIC format(the one which is extracted from MVS), i.e. if it is not converted in the format readble by TD then even on using the ch****t runtime parameter for mload the records are being rejected.

If any help can be provided, it would be great.

Thanks & Regards,
TS.
Post #4228
Posted 5/24/2006 4:50:17 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: PAC and SFT Members
Last Login: Today @ 12:57:26 PM
Posts: 328, Visits: 506
Teradata utilities expect input data to be in a "native" format for the platform on which the client is running. So mainframe format data is handled nicely when your Teradata system is channel-attached. Or if the data was in some "portable" format such as delimited text, then network-attached utilities could handle it. But there's no built-in support for loading mainframe-format binary data records from a UNIX or Windows server.

You could write INMOD / AXSMOD on the client side or UDFs in Teradata to do specific conversions...
Post #4235
Posted 5/25/2006 8:15:27 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/13/2008 3:39:40 AM
Posts: 12, Visits: 2
Thanks a lot for the inputs!!

Regards,
TS.
Post #4242
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 1:33pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 11 queries. Compression Disabled.