When trying to execute the below syntax, I get error 4425, command TEMPORARY is misplaced.  I’ve used similar syntax many times before w/out a problem.  Any idea as to what is wrong here??

 

TEMPORARY.

select if (q25h = -1).

title 'No Participation in Activities'.

Compute NoAct=sum(q3 to q7).

TEMPORARY.

select if (q25a = -1 or q25b = -1 or q25c = -1 or q25d = -1 or q25e = -1 or q25f = -1 or q25g = -1).

title 'Participation in Activities'.

Compute YesAct=sum(q3 to q7).

 

Edward P. Tesiny

Director of Evaluation and Outcomes Management

New York State OASAS

1450 Western Avenue

Albany, NY 12203

Phone:  (518) 485-2322

Fax:  (518) 485-5228

EdTesiny@oasas.state.ny.us

 

IMPORTANT:  This E-mail may contain confidential material for the sole use of the intended recipient.  The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail.  Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited.   If you are not the intended recipient please contact the sender and delete all copies.  E-mail transmission cannot be guaranteed to be secure or error-free.   The sender therefore does not accept liability for any errors or omissions in the contents of this transmission.   All e-mails sent to or from NYS OASAS are to be used for our business purposes only.  E-mails sent from or to NYS OASAS are subject to review by the Agency.