Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script problem 1

Status
Not open for further replies.

jidone

Programmer
Mar 5, 2002
5
CA
Recieving an error when trying to run this part of my script , it gives me a usage error...

the command is qhld

for what i want is qhld -#
i take what the user enters and set it to variable jobnumber
then run qhld -#$jobnumber

else if ("$choice" == "7" ) then
clear; echo
echo "Enter the print job number to hold: "
set jobnumber=$<
qhld -#$jobnumber
sleep 5
set action2=&quot;true&quot;
what is wrong with what i have in this script thanks

 
try this :

qhld &quot;-#$jobnumber&quot;



Jean Pierre.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top