Hi,
I am calling a DS job using UNIX script
${DS_JOB} -file ${DS_LOGIN} ${DS_SERVER} -run \
-param STEPID=${STEP_ID} \
-param STAT=${STAT} \
-param DATADIR=${DATA_DIR} \
-param SSJ=${SUB_STAT_JOB} \
-wait \
-jobstatus \
-userstatus \
${PROJECT} \
${DS_JOB_NM} >> $LOG_FILE 2>&1
Here what DS_LOGIN,DS_SERVER means?
shall I skip these parameters?
Cheers,
Boss
Calling Datastage job in a UNIX script
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 14
- Joined: Mon Mar 23, 2009 12:57 am
- Location: INDIA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If it works you can skip them. Otherwise you probably need -user and -password options preceding them. In that case you may also need to specify -server and, once you get to version 8, -domain as well.
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.
$DS_LOGIN is a filename containing credentials: server, userid, password. And $DS_SERVER tells it which record in the file to use, looked up by matching server name. As noted, you may be able to leave them out but if not and you remove the "-file ${DS_LOGIN} ${DS_SERVER}" bit you'll need to fully specific the credentials to use on the command line.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers