Hello,
we start up a datastagejob by automatically by calling a telnet session from within an Access application.
The command we use in during the telnet session is the following:
***********
dsjob -run -param sdate=20030101 -param edate=20031231 -param NP=NP -param NH=NH DSFINT SEQ1NPNHNV{ENTER}
***********
it gives the following error:
**********
Error -3 getting information for parameter 'sdate'
Status code = -3 DSJE_BADPARAM
**************
If we change the command without the parameters, everything runs ok, but it takes the default values ofcourse of the parameters defined in the job.
********
dsjob -run DSFINT SEQ1NPNHNV{ENTER}
********
Can anybody tell me what is wrong with the command (probably something to do with the parameter definition)...?
Thanks,
Rogier Roosen
PS:
sdate and edate are defined as integers and NP, NH are defined as strings...
Command line error starting DSJOB !!
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The error message (and DSJE.BADPARAM code) should have alerted you to the fact that something was wrong with one or more parameters. That is reported the error for the sdate parameter is merely an artifact of that parameter being the first in your command line, it was the point at which the command parser gave up.
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518