need help in job design in PX

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sainath
Premium Member
Premium Member
Posts: 138
Joined: Fri Nov 19, 2004 3:57 pm

need help in job design in PX

Post by sainath »

Hi

I have a parallel job which updates to 6 different tables ,I have around 3Million source records...

What is the best may to design jobs (In single job or multiple jobs)


Also I have target DB2 in Z/os.I want to do bulk load ,but this feature is disabled in datastage ..how can i enable this in datastage


thks
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

What do you mean by disabled in datastage?
pandeeswaran
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

Bulk load z/OS DB2 from the mainframe.

On my last project I was targeting z/OS DB2 for the first time in quite a while. My z/OS DB2 DBA told me it was not possible to do a bulk load from our aix server (I thought maybe the new DB2 Connector might have that capability). Based on my prior experiences I had no reason to doubt his assertion. I did parallel inserts for several million rows with very good performance, so I had no reason to continue down the bulk load path.

If you really want to do a bulk load:
1) Prepare a load-ready sequential file on your server and ftp it to your mainframe. Check with your z/OS DB2 DBA or the manuals on format requirements. It used to be that nullable fields required a separate 1-byte null indicator field among other requirements.
2) Code a mainframe job (JCL) to do the bulk load. Your DBA probably has tons of examples.
3) Come up with some mechanism to trigger the mainframe job to get submitted. Your DBA can probably help you out with some options.

Mike
Post Reply