demo_client_web.html ==================== Tier3 DEMO example via CornuCopiae cornucopiae.html ================
Username: Node: CornuCopiae Host: Connected:
queue_lookup.html =================

Example Client for Tier3 DEMO Application Server on VMS


Queue Name: Job Entry Number: Jobs Found:


This is an example of a browser-based, html and JavaScript, client interacting with a VMS hosted Application Server in a connection-oriented and context-rich Tier3 environment.

You would have noticed that, when this page was initially displayed, you were immediately prompted for your VMS Username and Password. Once authorization is successful your credentials, and an accompanying Persona, are automatically made available to your 3GL User Action Routines each time their Server Process is chosen to perform work on behalf of the client. In this example, the user only gets to see those Print and Batch jobs that they have privileges to view. You can find the corresponding server code for this example (demo_uars.cob) in your t3$examples directory.

Your Tier3 session and server connection are terminated when you change web pages or refresh this page.



"Tier3" is a registered trademark of Tier3 Software Ltd
"CornuCopiae" is a trademark of Richard Maher
Sort By






entry_details.html ==================

Queue Entry Details



Entry Number: Job Name: Job Status:

Queue Name: Queue Type:

Job Priority: Job Copies: Job Size:

Job Username: UIC: Account: Process ID:

Log File Queue: Submission Time:
Queue Status Details
Queue Name

Queue Status Node Base Priority
         
Form Name

Form Stock









Return to Entry Lookup screen
common.js ========= var errorInfo = "00"; var recType = " "; var recTypeLen = 2; var errLenLen = 3; var zeros = 0; var chan; var errMsgLen; var selectRef; var jobMsg; String.prototype.lTrim = function() { return this.replace(/^\s+/,''); } String.prototype.rTrim = function() { return this.replace(/\s+$/,''); } String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,''); } function recvAndGet(howMany) { if (recv(howMany) == false) return null; return chan.getString(0,howMany); } function recv(howMany) { bytesIn = chan.readMessage(howMany); switch (bytesIn) { case 0: reportError("Server RECV request timed out"); break; case -1: reportError("Error receiving reply from server in RECV"); break; case howMany: return true; default: reportError("Received " + bytesIn + " bytes and expected " + howMany) } return false; } function reportError(txt) { var topWindow=window.top.document.open(); topWindow.write("

Server Communications Error


"); topWindow.write("

Please contact Server Support for assistance.


"); topWindow.write('

' + txt + "

"); topWindow.close(); return; } function dclAST(astAddr) { setTimeout(astAddr,0); return; }