Hi all,
I have created a server job which has desing as below.
Seq.File -----> Transformer --------> Oracle stage
It successfully completed.
I have created a copy of the above job and the file metadata structure is same and used Parameter for Pathname and Filename.
when I check to view the data, its throwing the below error message.
"CopyOfJ_Stg_RAM_Asset..SEQ_Balance_CTL1.Src_Hash: DSD.SEQOpen Failed to open BH_RAMS_TRAILBAL_CTL.txt in directory /data/FINETL/incoming
STATUS = -1"
But when I hardcode the pathname and filename, I am able to view the data. And also when I use the previous run file, its not giving any error message.
Could anyone please help me out?
Thanks in advance.
Not able to open text file
Moderators: chulett, rschirm, roy
Not able to open text file
With regards,
Xpert
Xpert
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
If hard coding is working and the parameters are not working means there are some issues with parameters only..
1.Check your parameters properly.
2.Check if there is any space of path name which you are passing is correct.
Hope this helps.
1.Check your parameters properly.
2.Check if there is any space of path name which you are passing is correct.
Hope this helps.
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
Parameters are correct and there is no space.mk_ds09 wrote:If hard coding is working and the parameters are not working means there are some issues with parameters only..
1.Check your parameters properly.
2.Check if there is any space of path name which you are passing is correct.
Hope this helps.
If i pass the previous run file name, its showing the data but for new file, its throwing the error message.
With regards,
Xpert
Xpert
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Ray,ray.wurlod wrote:Disk full? File permissions? Directory permissions?
Verify parameter value (posted in "job starting" event in job log).
The directory and file has full rights. Disk is not full.
#$SrcPath##TPFileName#_CTL.txt
$SrcPath --> /data/FINETL/incoming/
TPFileName --> BH_RAMS_TRAILBAL
When I give the above values directly, its showing the data.
But when I use parameters, its throwing the error message.
I'm not able to understand. why its happening like this?
With regards,
Xpert
Xpert
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: