| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| _setInfinitePause |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
Response.Expires = 0
|
|
|
12 |
%>
|
|
|
13 |
<!--#include file="common/conf.asp"-->
|
|
|
14 |
<!--#include file="common/globals.asp"-->
|
|
|
15 |
<!--#include file="common/formating.asp"-->
|
|
|
16 |
<!--#include file="common/qstr.asp"-->
|
|
|
17 |
<!--#include file="common/common_subs.asp"-->
|
|
|
18 |
<%
|
|
|
19 |
'------------ ACCESS CONTROL ------------------
|
|
|
20 |
%>
|
| 6048 |
dpurdie |
21 |
<!--#include file="_access_control_login.asp"-->
|
| 119 |
ghuddy |
22 |
<!--#include file="_access_control_general.asp"-->
|
|
|
23 |
<%
|
|
|
24 |
'------------ VARIABLE DEFINITION -------------
|
|
|
25 |
'------------ CONSTANTS DECLARATION -----------
|
|
|
26 |
'------------ VARIABLE INIT -------------------
|
|
|
27 |
'------------ CONDITIONS ----------------------
|
|
|
28 |
'----------------------------------------------
|
|
|
29 |
%>
|
|
|
30 |
<%
|
|
|
31 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
32 |
Sub SetInfinitePause ()
|
|
|
33 |
On Error Resume Next
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
objEH.TryORA ( OraSession )
|
|
|
37 |
|
|
|
38 |
OraDatabase.ExecuteSQL _
|
|
|
39 |
"BEGIN PK_BUILDAPI.SET_INFINITE_PAUSE; END;"
|
|
|
40 |
|
|
|
41 |
objEH.CatchORA ( OraSession )
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
End Sub
|
|
|
45 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
46 |
%>
|
|
|
47 |
<%
|
|
|
48 |
'**************************** M A I N ******************************
|
|
|
49 |
' --- Form is Valid ---
|
|
|
50 |
Call SetInfinitePause()
|
|
|
51 |
|
|
|
52 |
If objEH.Finally Then
|
|
|
53 |
Call OpenInWindow ( "admin_build_service.asp" )
|
|
|
54 |
End If
|
|
|
55 |
'**********************************************************************
|
|
|
56 |
%>
|
|
|
57 |
<%
|
|
|
58 |
'------------ RUN AFTER CODE RUN --------------
|
|
|
59 |
'----------------------------------------------
|
|
|
60 |
'----------------------------------------------
|
|
|
61 |
Call Destroy_All_Objects
|
|
|
62 |
%>
|
|
|
63 |
|