if ($USER == "client") then
fixsuper
fixsuper
fixsuper
cd /usr/cfmc/jobs
clear
tryagain:
set jobfolder = ""
echo " "
echo " "
echo " Please enter the JOB FOLDER from the instructions"
echo " "
echo " or type 'abort' to logout"
echo " "
echo -n " --> "
set jobfolder = `head -1`
if ( `echo ${jobfolder} | grep -c "abort"` ) then
logout
endif
if ( ${jobfolder} == "" ) then
clear
goto tryagain
endif
set studycode = ""
echo " "
echo " "
echo " Please enter the STUDY CODE from the instructions"
echo " "
echo " or type 'abort' to logout"
echo " "
echo -n " --> "
set studycode = `head -1`
if ( `echo ${studycode} | grep -c "abort"` ) then
logout
endif
if ( ${studycode} == "" ) then
clear
goto tryagain
endif
if ( { ls /usr/cfmc/jobs/${jobfolder} } == "1" ) then
clear
cd ${jobfolder}
if ( { ls /usr/cfmc/jobs/${jobfolder}/test } == "1" ) then
clear
cd test
survent "init:${studycode};dbug;yes"
else
clear
netsurv "init:${studycode};dbug;yes"
endif
else
clear
echo " "
echo " It appears that job does not exist on the system"
echo " "
echo " Check the instructions and try again"
echo " "
echo " If you continue to have issues let us know"
echo " "
echo " "
goto tryagain
endif
echo " "
echo " "
echo " press enter to logout"
echo " "
set logout = `head -1`
logout
endif