Read a Parameter file from UNIX Directory & pass value
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The code could alternately be invoked through a Routine activity in the sequence. Return all values in a delimited string - ideally a dynamic array because this can manage nulls - and, in the User Variables activity (or anywhere else) use the Field() function to retrieve a particular value.
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.
Thanks Kim & Craig for your valuable suggestions.
I am using an Execute command activity that will read the Parameter file ( The file is somethin like this,
filename1=/home/abc/file1.txt
filename2=/home/xyz/file2.txt)
I can grep the file & get the 2 values. I am struggling to capture these 2 values through a USer Variable activity.
Can you pls let me know how we can do it through this activity.
Thanks
Freddie.
I am using an Execute command activity that will read the Parameter file ( The file is somethin like this,
filename1=/home/abc/file1.txt
filename2=/home/xyz/file2.txt)
I can grep the file & get the 2 values. I am struggling to capture these 2 values through a USer Variable activity.
Can you pls let me know how we can do it through this activity.
Thanks
Freddie.