Calling A Shell Script With parameters

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
chinek
Participant
Posts: 75
Joined: Mon Apr 15, 2002 10:09 pm
Location: Australia

Post by chinek »

Hi

sh /usr/apps/home/dev2/testprj/dfshsupldmv.sh /usr/apps/home/dev2/testprj/arch date_tt.dat"
Reply=0
Output from command ====>
Usage: /usr/apps/home/dev2/testprj/dfshsupldmv.sh File Path

It seems that the script is expecting the File first and then the Path,
but in your script you have put the path and then the file ?

chinek
Post Reply