Hi,
I have a DS7.5.1 single server installation on unix. I want to use the APT_CONFIG_FILE variable to execute the dsjob, which gives me the flexibilty of design and assign the variable values in a single config file.
I don't want to have the env variables defined. i defined the value of APT_CONFIG_FILE in the dsenv file.
This is the below command whicj i used
dsjob -run -param '$APT_CONFIG_FILE=/home/srini/scripts_2_test/variable.txt' proj test_seq
Error -3 getting information for parameter '$APT_CONFIG_FILE'
regards
srini
Status code = -3 DSJE_BADPARAM
Pls. do let me know how to use the APT_CONFIG_FILE parameter.
usage of APT_CONFIG_FILE
Moderators: chulett, rschirm, roy
usage of APT_CONFIG_FILE
Regards
Srinivas
Srinivas
Gurus,tatireddi wrote:Hi Cetin:
Yes, i am doing on the DS Server edition.
Correct me if I am wrong but the APT_CONFIG_FILE and its usage is only for parallel edition not for server edition, if you don't have DS PX ( DSEE) installed you cannot use it.
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
chulett wrote:It's an environment variable, so would not say you couldn't "use" it - but you certainly couldn't for the purpose that it was intended.
So, it is quite normal that you are getting the error.
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
Could u plz let me how to create config file and test it using server edition through manager??michaeld wrote:You need to define the variable in your job as a parameter. Go to parameters and import it from your environment variables. Then you can pass it a value with dsjob.exe.
Did you create the config file using DS Manager? DS Manager allows you to test your config files.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The configuration file specified by APT_CONFIG_FILE is for parallel jobs.
You are trying to specify it for a server job.
Anything you create with the Configurations editor in Manager will make no sense whatsoever in a server job.
For what purpose do you want to use a "configuration file"? Might I suggest that you use a different environment variable or job parameter name for the name of your file. In this way you will not confuse your support providers.
You are trying to specify it for a server job.
Anything you create with the Configurations editor in Manager will make no sense whatsoever in a server job.
For what purpose do you want to use a "configuration file"? Might I suggest that you use a different environment variable or job parameter name for the name of your file. In this way you will not confuse your support providers.
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.