Parameter File Usage
Moderators: chulett, rschirm, roy
Parameter File Usage
Can you tell me how to get the parameter values for a specific job from a file, as I dont want it to be hardcoded in the job properties.
Thanks,
Divya
Divya
Parameter file format
hii..
i want to use a parameter file whose format wil hav "name,value" pair.
Can you let me know how to use it...
i want to use a parameter file whose format wil hav "name,value" pair.
Can you let me know how to use it...
Thanks,
Divya
Divya
-
- Premium Member
- Posts: 210
- Joined: Wed Feb 16, 2005 7:17 am
Hmmmm.... although never tried it but I guess that you can do it in this fashion:
1. Have your name value pair in a text file as comma separated (any separator would do).
2. Write a basic routine to fetch that file, read it sequentially, use string in column1 as parameter name and string in column2 as value.
I guess the functions you might want to look at is DSSetParam (hope my memory is intact
)
Hope this helps.
Cheers
Aakash
1. Have your name value pair in a text file as comma separated (any separator would do).
2. Write a basic routine to fetch that file, read it sequentially, use string in column1 as parameter name and string in column2 as value.
I guess the functions you might want to look at is DSSetParam (hope my memory is intact
![Wink :wink:](./images/smilies/icon_wink.gif)
Hope this helps.
Cheers
Aakash
L'arrêt essayant d'être parfait… évoluons.
Re: Parameter file usage in parallel job
oh thx!!
can u tell me where to cal the parameter file name in the job..?? n can u also quote me an example for writing a routine which you mentioned??
can u tell me where to cal the parameter file name in the job..?? n can u also quote me an example for writing a routine which you mentioned??
Thanks,
Divya
Divya