Tafj Training
Tafj Training
Tafj Training
TAFJ is our proprietary runtime and compiler for jBC code, written in 100%
java. It allows compiling and running jBC programs on Java.
The bytecode can be run on any JVM thus making T24 platform
independent.
TAFJ uses only free and open source software's for all 3rdparty
requirements, like H2, jBoss, JDK, eclipse etc.
TAFJ Commands
• tRun
• tCompile
• tShow
• tDiag
• DBTools
• JED
• TAFJ Command to start TSM and AGENT
tRun
tRun is the main entry point for running a program. This is a script in the
/bin directory. It is used to execute the Compiled Basic Files
tCompile
tCompile is the main entry point for compiling a program. This is a script in
the /bin directory. It is used to execute the Compiled Basic Files.
tCompile /home/user/MSK.BP/HELLO.b
Look for /home/user/MSK.BP/HELLO and compile it.
tCompile /home/user/MSK.BP
Compile the contents of the whole directory MSK.BP.
tCompile /home/user/MSK.BP/H*
Compile only the file starting with “H”
tCompile ../MSK.BP
Compile the entire relative directory.
tCompile
tCompile -reject */EB.* /home/user/MSK.BP
Compile the content of the whole directory MSK.BP but not the files starting
with EB.
Output:
tShow
tShow is part of the TAFJ tools. It allows finding easily where your BASIC source
has been compiled, when and on what machine it has been compiled. It can also
produce a report of all the dupicate classes when run with –d argument.
Syntax: tShow <Program Name>
Output:
tDiag
tDiag is part of the TAFJ tools. Displays Information about TAFJ environment.
It is just like jDiag.
Syntax: tDiag <Option>
Output:
DBTools
TAFJ-DBTools will be accessed only with authenticated users. Hence username
and password has to be passed as parameters to DBTools.
The users to access DBTools needs to be created using a bat file tAddUser. If
there are 3 unsuccessful attempts, user gets blocked. The blocked user cannot be
used further.
DBTools Login :
• SELECT
• INSERT
• UPDATE
• DELETE
• CREATE
• ALTER
• DROP
• COMMIT
• ROLLBACK
To script a OFS command
JED
You can call JED console to display and edit database records by using
command JED <<FILE NAME>> <<RECORD KEY>>
JED
JED
TAFJ Command to start TSM and
AGENT