Powerhouse terminal code to Axiant thin client

james.stanton@execrelo.com james.stanton@execrelo.com
Mon, 7 May 2001 11:19:29 -0400


In working with Axiant 3.0 on a HPe3000, I am trying to get this
designer to work.  The code first builds and then loads a case number
to print in the parameter file, then it run a quiz report to access
the case number and print a temp file to be processed by fantasia
which prints logos, etc....  I am running netd to stream a new job for
each user.  The Cognos support person stated the following:

"The reason the Quiz report is not working when you call it from the
Axiant screen is that the various commands are not being run in the
same session, as they are when you run the screen online.  You can run
all of the commands together by putting them into a single command
file, and calling the command file from the Axiant screen procedure
with a single RUN COMMAND."

Will this type of Powerhouse terminal code work in Axiant thin client?

PROCEDURE DESIGNER p   HELP "Print Consultant Chronology."
 BEGIN
     IF ALTEREDRECORD OF CounslChronology
          THEN BEGIN
          INFORMATION "You haven't updated (use US then try again)."
          END
     ELSE BEGIN
          RUN COMMAND "reset parm"  CLEAR ALL NOWARN
          RUN COMMAND "purge parm,temp" NOWARN
          RUN COMMAND "build parm;rec=-150,1,f,ascii;disc=10;temp"
NOWARN
          GET Parameter opt
          LET ParameterNumber0 OF Parameter = CaseNumber OF Case
          PUT Parameter
          CLOSE Parameter
          RUN COMMAND "PURGE CHRONLST,TEMP"
          RUN COMMAND  &
          "BUILD CHRONLST;REC=-132,,F,ASCII;CCTL;DISC=10000;TEMP"
          RUN COMMAND "file OUTPUT=CHRONLST,OLDTEMP;CCTL;DEV=DISC"
          RUN COMMAND "file quizuse=BT0002QZ"
          RUN COMMAND "QUIZ"
          RUN COMMAND "RUN LASER.LASER.LARC;INFO='CHRONO.FENV
QDEV=!LJPRINT'"  &
          NOWARN
          RUN COMMAND "reset quizuse"
          REFRESH ALL
          INFORMATION " Consultant Chronology printed."
     END
END