View of W_debug.HTM
<HTML>
<HEAD>
<TITLE>Some help debugging</TITLE>
</HEAD>
<BODY>
<FORM name=f action='http://tutora/scripts/broker.exe'>
<INPUT type=hidden name=_SERVICE value=sugisrv>
<INPUT type=hidden name=_PROGRAM value=pXw124.W_debug.sas>
<BR>
<INPUT type=text name=XYZ> parameter "XYZ"
<P>
<INPUT type=submit value="send it to a SAS program">
<HR>
<FONT size=-2>
<P><INPUT type=text name=_DEBUG value=0> parameter "_DEBUG"
</FORM>
<SCRIPT>
// This function, together with the FORM which follows
// set the _DEBUG variable in the preceding form.
// The form with _DEBUG must have a "name=f" parameter
// in its "FORM" tag
function comp_debug(){
with(document.dbf){
newdb=0;
if(_df1[1].checked) newdb=newdb+parseInt(_df1[1].value);
if(_df2[1].checked) newdb=newdb+parseInt(_df2[1].value);
if(_df4[1].checked) newdb=newdb+parseInt(_df4[1].value);
if(_df8[1].checked) newdb=newdb+parseInt(_df8[1].value);
if(_df16[1].checked) newdb=newdb+parseInt(_df16[1].value);
if(_df128[1].checked)newdb=newdb+parseInt(_df128[1].value);
if(_df256[1].checked)newdb=newdb+parseInt(_df256[1].value);
if(_df512[1].checked)newdb=newdb+parseInt(_df512[1].value);
document.f._DEBUG.value = newdb;
}
} // ends comp_debug
</SCRIPT>
<FORM name=dbf>
<P>
<INPUT type=radio name=_df1 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df1 value=1 onClick="comp_debug();">on - Echo all fields.
<BR>
<INPUT type=radio name=_df2 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df2 value=2 onClick="comp_debug();">on - Print elapsed time.
<BR>
<INPUT type=radio name=_df4 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df4 value=4 onClick="comp_debug();">on - List definition of all services, don't run.
<BR>
<INPUT type=radio name=_df8 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df8 value=8 onClick="comp_debug();">on - Skip all execution processing.
<BR>
<INPUT type=radio name=_df16 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df16 value=16 onClick="comp_debug();">on - Display output in hexadecimal.
<BR>
<INPUT type=radio name=_df128 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df128 value=128 onClick="comp_debug();">on - Send back log file.
<BR>
<INPUT type=radio name=_df256 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df256 value=256 onClick="comp_debug();">on - Trace socket connection attempts.
<BR>
<INPUT type=radio name=_df512 value=0 checked onClick="comp_debug();">off
<INPUT type=radio name=_df512 value=512 onClick="comp_debug();">on - Show socket host and port number.
<BR>
</FONT>
</FORM>
</BODY>
</HTML>
back to the overview