Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Viswa560
Contributor
Contributor

[resolved] insert file name and job_id to the columns in a target table

Hi,
My Requirement is i need to insert the File_name which i am loading and job_id into columns in the target table.

Any help how to do this is help full.

Thanks 
Viswanatha Challa 

Labels (2)
1 Solution

Accepted Solutions
TRF
Creator III
Creator III

Filename of tFileInputDelimited is not accessible from any global variable.

Use tFileList before to read the file, giving something like:
0683p000009MGRR.png

tFileList:
0683p000009MGXr.png

tFileInputDelimited:
0683p000009MGZX.png

tMap:
0683p000009MGZc.png

and finally, the result:
0683p000009MGZh.png

Hope this helps.
TRF

View solution in original post

4 Replies
TRF
Creator III
Creator III

Hi,
My requirement is that you give us a little more detail.
Which component are do you use?

Regards,
TRF
Viswa560
Contributor
Contributor
Author

Hi,
I am loading data from one flat file (tFileInputDelimited_3) to Oracle Data base, where i have a file name column and i need to load the current file name into that column.
0683p000009MGZS.png
TRF
Creator III
Creator III

Filename of tFileInputDelimited is not accessible from any global variable.

Use tFileList before to read the file, giving something like:
0683p000009MGRR.png

tFileList:
0683p000009MGXr.png

tFileInputDelimited:
0683p000009MGZX.png

tMap:
0683p000009MGZc.png

and finally, the result:
0683p000009MGZh.png

Hope this helps.
TRF
Viswa560
Contributor
Contributor
Author

Thanks that works 0683p000009MACn.png