Hi All,
I need your help on below question ,
How can i pass a changing value as a parameter in the job . For example i have Source filename - FName.26.06.2012 and tomarrow it will change to Fname-27.06.2012. How can i call these daily source files with name change in my DS job ?
I would really appreciate any suggestions .
Many Thanks
kk..
Passing Dynamic values as Parameters
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
That's exactly what parameters do. When you submit a job run request you are prompted for the parameter values (or you use -param option in the dsjob command line).
If you need to detect the file name, you use a sequence with a command to retrieve the file name (for example ls -lrt FName* | head -1)
That's exactly what parameters do. When you submit a job run request you are prompted for the parameter values (or you use -param option in the dsjob command line).
If you need to detect the file name, you use a sequence with a command to retrieve the file name (for example ls -lrt FName* | head -1)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.