I have a relative file path name that I want to pass from a sequence to a job in the sequence. I can't get this to work. For example,
I have d:\data\Prod\FDM\JobParmsSeq as a parameter called PARM_FILE.
I have 2 environment variables called:
$SeqPath = d:\data
$DataEnviron = Prod or Test
and what I would like to do is have the following for PARM_FILE:
#$SeqPath#\#$DataEnviron#\FDM\JobParmsSeq
Any suggestions?
TIA
Marc
Sequence parameters
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 67
- Joined: Wed Apr 14, 2004 11:33 am
still can't get it to work. the log message from taking my initial run and the suggestion:
FMFEXDCRSEQ..JobControl (GetFDMParam): Unable to open #$SeqPath#\#$DataEnviron#\FDM\JobParmsSeq
FMFEXDCRSEQ..JobControl (GetFDMParam): Unable to open #SeqPath#\#DataEnviron#\FDM\JobParmsSeq
same result. I am trying to find out how to combine multiple parameters and assign the result to another parameter.
FMFEXDCRSEQ..JobControl (GetFDMParam): Unable to open #$SeqPath#\#$DataEnviron#\FDM\JobParmsSeq
FMFEXDCRSEQ..JobControl (GetFDMParam): Unable to open #SeqPath#\#DataEnviron#\FDM\JobParmsSeq
same result. I am trying to find out how to combine multiple parameters and assign the result to another parameter.
Perhaps that's the issue, because you can't. Well, at least you can't without writing some intervening BASIC job control code.marc_brown98 wrote:I am trying to find out how to combine multiple parameters and assign the result to another parameter.
You would need to pull in the values for the current parameters and then build a new parameter value by concatenating them together yourself. Then you can use the result as a single parameter.
Bottom line is you simply can't reference other parameters in a parameters default value, which is what I took your comment to mean.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi,
I have a sequencer job. In the Wait for File Activity Stage, I need to define the input file name.
I pass this file name as combination of parameters, the way you mentioned
#Seqpath#/#Devenv#/test.dne .....this is on unix
In the job properties - job control, define this two parameters as string.
Ketfos
I have a sequencer job. In the Wait for File Activity Stage, I need to define the input file name.
I pass this file name as combination of parameters, the way you mentioned
#Seqpath#/#Devenv#/test.dne .....this is on unix
In the job properties - job control, define this two parameters as string.
Ketfos
-
- Premium Member
- Posts: 67
- Joined: Wed Apr 14, 2004 11:33 am
Thanks that's what I thought would have to happen.chulett wrote:Perhaps that's the issue, because you can't. Well, at least you can't without writing some intervening BASIC job control code.marc_brown98 wrote:I am trying to find out how to combine multiple parameters and assign the result to another parameter.
You would need to pull in the values for the current parameters and then build a new parameter value by concatenating them together yourself. Then you can use the result as a single parameter.
Bottom line is you simply can't reference other parameters in a parameters default value, which is what I took your comment to mean.