Error Occuring while using DB2 UDB Bulk Load .

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsouza.adithfrancis
Participant
Posts: 16
Joined: Sun Oct 07, 2007 12:42 am

Error Occuring while using DB2 UDB Bulk Load .

Post by dsouza.adithfrancis »

Hi ,

I am using the DB2 UDB Load stage to load data from a Sequential file to DB2 database using DB2 UDB Bulk Load .I have given the Source file name in the DB2 stage against'Directory for Data and Command Files'

Error Message :
Internal Error: Function 'get_stage_prop' failed
Property 'Directory for Data and Command Files' value not found


For better Understanding :

Load Method : Sequential file
Load Immediate :YES
Laod From Client : YES
Directory for data and command files : #I have mentioned Directory path with the source file Name#
File Type of the data format : DEL
Method : L
Column start Column end : 1 16,17 19,20 25 etc
insert column : Col1, Col2, Col3
Load Mode : INSERT
Local Message File Name : TEST.txt

Please let me know how this can be fixed .
francis adith d'souza
dilip.datastage
Participant
Posts: 22
Joined: Wed Aug 15, 2007 10:59 pm
Location: Bangalore

can u explain about the error in detail

Post by dilip.datastage »

Please refer online documents
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Re: Error Occuring while using DB2 UDB Bulk Load .

Post by ArndW »

dsouza.adithfrancis wrote:...Directory for data and command files : #I have mentioned Directory path with the source file Name#...
What exactly did you enter here; since the error message refers to this value this is where we should be looking.
dsouza.adithfrancis
Participant
Posts: 16
Joined: Sun Oct 07, 2007 12:42 am

Re: Error Occuring while using DB2 UDB Bulk Load .

Post by dsouza.adithfrancis »

Hi,
I had mentioned the path of the source file and the file name from where data has to be Loaded.

DB2 UDB Properties:
Directory for data and command files : \edw\corp\stg\landing\BMD_SALES.txt
Eg :
Path :\edw\corp\stg\landing\ * Path where the file is located*
File name : BMD_SALES.txt * Source File Name*
francis adith d'souza
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

But in that field it only wants a directory to create the working files; try that without the file name, please.
dsouza.adithfrancis
Participant
Posts: 16
Joined: Sun Oct 07, 2007 12:42 am

DB2 Bulk loader error

Post by dsouza.adithfrancis »

Hi ,
I encountered another problem while running the job .

Error message :
Internal Error: Function 'get_stage_prop' failed
Property 'Remote Message File Name' value not found

For the property field
Remote message file name : *If i mention a path on the DB2 server*
will it require details such as user id( with permissions) to be created on the DB2 server so that i can create a temp file in the DB2 database directory path
francis adith d'souza
dsouza.adithfrancis
Participant
Posts: 16
Joined: Sun Oct 07, 2007 12:42 am

DB2 Bulk loader error

Post by dsouza.adithfrancis »

Hi ,
I encountered another problem while running the job .

Error message :
Internal Error: Function 'get_stage_prop' failed
Property 'Remote Message File Name' value not found

For the property field
Remote message file name : *If i mention a path on the DB2 server*
will it require details such as user id( with permissions) to be created on the DB2 server so that i can create a temp file in the DB2 database directory path
francis adith d'souza
Post Reply