Cant use $PROJDEF in a Parameter Set
Posted: Tue Oct 02, 2007 5:17 pm
The runtime environment variable default $PROJDEF does not appear to work when the parameter is part of a parameter SET. Here's what I did:
If I change the job to remove the parameter set and replace with a bog standard environment variable parameter defaulted to $PROJDEF, it works (after changing the env var ref in the file name of course).
I found one other unresolved post on DSX similar to this, but stony silence on Google. Can anyone help?
- Create an environment variable $ODMORASID in Administrator and give it a value of XYZ
- Create a Parameter Set ODM including the $ODMORASID variable.
- Set the default value for $ODMORASID to $PROJDEF in the param set.
- Create a job that includes the parameter set. Job reads a single row from a sequential file and writes it to another sequential file.
- The name of the second sequential file includes the parameter:
The parameter was inserted into the filename using the tool button, not typed in freehand.
Code: Select all
/home/c985675/#ODM.$ODMORASID#.txt
If I change the job to remove the parameter set and replace with a bog standard environment variable parameter defaulted to $PROJDEF, it works (after changing the env var ref in the file name of course).
I found one other unresolved post on DSX similar to this, but stony silence on Google. Can anyone help?