You are on page 1of 64

TAFC Administration - II

Day 1 – Session 2
TAFC Administration - II
Dates
21/02/2011 Tech Support Program
Venue
Microcred, Senagal
Agenda & Objective
Objective

 At the end of this session, participants will


• Know the various TAFC tools & utilities commands

3 Thesys Training Centre


TAFC Navigation

 Enter Account name and Password in jShell prompt


 ‘START GLOBUS’ message appears, Enter
•Y -> To shift to list all available terminal types
•N -> To shift to jShell prompt
 jShell Recognition format :
• jsh <user-name> <current-working-directory> ~ 
 Enter: ETS & EX -> To log into T24 database

4 Thesys Training Centre


TAFC Navigation

 Database prompt ->BK -> Shifts to jShell prompt


 Enter -> OFF -> To logout of jShell prompt
 Non-Hashed File Creation:
• CREATE.FILE <File-Name> TYPE=UD
 Hashed File Creation:
• CREATE.FILE <File-Name> TYPE=<File-type> <Dict.-portion>
<Data-portion>

5 Thesys Training Centre


Tools
TAFC Tools

 jshow
 jdiag
 jdir
 jrm
 jmv
 jstat
 jrf

7 Thesys Training Centre


jshow

 Used to find data files, programs and subroutines


 Has to be executed from jshell prompt

8 Thesys Training Centre


jshow

 Syntax : jshow -options name


•a -> display subroutine names in a shared object
•c -> display compile time and source file
•f -> filename search only
•h -> display help for jshow
•p -> program name only search
•s -> subroutine name only search

9 Thesys Training Centre


jshow

10 Thesys Training Centre


jshow –c

 Displays
• Executable file paths
• Compile time
• Source file

11 Thesys Training Centre


jshow -f

 Displays the path of file storage

12 Thesys Training Centre


jshow -h

 Displays help-text for jshow commands

13 Thesys Training Centre


jshow -p

 Displays storage path of


• .dll files of subroutine
• .exe files of program
 On compilation of
• Program -> object code (.exe) created
• Subroutine -> executable files (.dll) created

14 Thesys Training Centre


jshow -s

 Displays the path in which the .dll file of subroutine is stored

15 Thesys Training Centre


jshow -v

 Display all
• Subroutine objects
• Executables

• Execution path
 Syntax:
• jshow –v <file-name>

16 Thesys Training Centre


jshow -v

17 Thesys Training Centre


jdiag

 Shows all environmental variables and the assigned path


from a TAFC perspective
 Has to be executed from the jshell prompt

18 Thesys Training Centre


jdiag

19 Thesys Training Centre


jdir

 Used to list all files in a directory


 Syntax
• jdir {<file_name>}
Where,
file_name - Name of the directory (BP file)
File name is optional
By default the current directory files will be listed

20 Thesys Training Centre


jdir

21 Thesys Training Centre


jrm

 Used to remove files recursively


 jrm –r <file_name>
• file_name -> Name of the directory (BP file) to be removed
 jrm <record_name>
• record_name -> Name of the record in the file to be removed

Note: To remove a record the command will be executed under


the file where the record exists

22 Thesys Training Centre


jrm <record-name>

23 Thesys Training Centre


jrm –r <file-name>

24 Thesys Training Centre


jmv

 Used to move old file to new file


 jmv <old_file> <new_file>
• old_file - Old file name or record name to be changed
• new_file - New file name or record name to be renamed

Note: To rename a file or record this command is used

25 Thesys Training Centre


jmv

26 Thesys Training Centre


jstat

 Finds the statistics of a data file


 Has to be executed from jsh prompt
 Syntax:
• jstat <file name>
 Can be applied only for a Hashed file
 Output -> Show the Modulo and file space details

27 Thesys Training Centre


jstat

 Error appears as shown, when file is not available

28 Thesys Training Centre


JRF

 Badly sized file affects performance


 File is resized, depending on the data flow
 JRF command allows to resize the data/Hashed file
 Has to be executed from the jsh prompt

29 Thesys Training Centre


JRF

 Syntax : JRF –options <filename>


 Options are
• H3 - Force to J3 file type
• H4 - Force to J4 file type
• H6 - Force to JR file type
•S - Increase Modulo/seperation
• Modulo - m ; Seperation – s
•R - Reporting purpose only
•D - Allows downsizing of a file

30 Thesys Training Centre


JRF

 Changing file type from J4 to JR

31 Thesys Training Centre


Utilities
jBase Utilities

 COMO  CT
 LISTF & LISTU  OFF
 LOGTO  SHOW-ITEM-LOCKS
 AUTOLOGOUT  CLEAR-ITEM-LOCKS
 WHERE & WHO

33 Thesys Training Centre


COMO

 Records the details which takes place in the terminal


 This log is automatically created when any service is
triggered
 Stores terminal details as a record in directory &COMO&
 From .jsh prompt,
• Como initiated -> COMO ON <record>
• Como stopped -> COMO OFF<record>

34 Thesys Training Centre


COMO

 CT &COMO& <record-name> -> Displays task details for the


record

35 Thesys Training Centre


COMO

 LIST &COMO& -> Lists the ID of the records being recorded


in COMO

36 Thesys Training Centre


COMO

 During EOD/COB process,


• COMO will be initiated automatically
• Records the details for every process/agent

37 Thesys Training Centre


LISTF & LISTU

 LISTF
• Displays all list of all files
 LISTU
• Display information on processes executing jBase programs

38 Thesys Training Centre


LISTF

39 Thesys Training Centre


LISTU

40 Thesys Training Centre


LOGTO

 Logs into another account from one account


 When executing LOGTO, it refers variable
JEDFILENAME_SYSTEM record with id <accname>
 Example:
• jsh t24demo ~ -->echo $JEDIFILENAME_SYSTEM
• Output: C:\jbase4\4.1\src\SYSTEM

41 Thesys Training Centre


LOGTO

JED C:\jbase4\4.1\src\SYSTEM t24demo


0001 D
0002 c:\mbdemotest\mbdemo.run

42 Thesys Training Centre


AUTOLOGOUT

 Enables a session to be automatically logged off, if there is


no keyboard activity for a specified time
 Syntax:
• AUTOLOGOUT n
• Where, n -> number of minutes of keyboard inactivity required
before the session is logged off

43 Thesys Training Centre


WHERE & WHO

 WHERE
• Display the details of processes executing jBase programs
• Has to be executed from jShell prompt
 WHO
• Displays the port number and the user for the current process

44 Thesys Training Centre


WHERE

45 Thesys Training Centre


CT

 Displays a record from a file to the terminal


 Syntax:
• CT <filename> <record>

46 Thesys Training Centre


OFF

 Closes down all current jBase programs

47 Thesys Training Centre


SHOW-ITEM-LOCKS

 Displays details of items that are locked in jBase hashed


files
 Syntax:
• Jsh t24demo ~ SHOW-ITEM-LOCKS

48 Thesys Training Centre


CLEAR-ITEM-LOCKS

 Clear a specific lock or all locks taken against a specific file


 Used only with jBase hashed files
 User should have administrator rights to execute this
command
 Syntax:
• CLEAR-ITEM-LOCKS filename
• CLEAR-ITEM-LOCKS filename recordname

49 Thesys Training Centre


CLEAR-ITEM-LOCKS

50 Thesys Training Centre


JED
JED

 Editing tool for the jBase – operating environment


 Editing of jBASIC programs
 It is a full screen, context sensitive, screen editor designed
specifically, for ease of use and learning
 Incorporates many powerful facilities,
• For manipulating text and data,
• Contains all the features that programmers expect
 Configurable and customizable command keystrokes

52 Thesys Training Centre


JED

 Syntax:
• jed pathname {pathname..}
• jed {DICT} filename{,filesection} {record-list} {(options)}
• Where,

– DICT -> To edit records in the DICTionary of a j-file


– filename -> Name of file containing record
– filesection -> File section name as used in j-file

53 Thesys Training Centre


JED

 record-list
• Furnishes a list of records to be successively edited
• Can be a list of records separated by a space, or "\*" to indicate
all records in the file

54 Thesys Training Centre


jEditor Screen

 Divided into 3 section:


• Editor status line
• Command line
• Data editing area

55 Thesys Training Centre


REPLACE

 R/OLD/NEW : Changes first OLD to NEW on current line


 R/OLD/NEW/3: Changes first 3 OLD to NEW on current line
 R3/OLD/NEW : Changes first OLD to NEW over 3 lines
 RU/OLD/NEW : Changes all OLD to NEW on current line
 RU3/OLD/NEW : Changes all OLD to NEW over 3 lines

56 Thesys Training Centre


R/OLD/NEW

 Changes first OLD character to NEW character on current


line

57 Thesys Training Centre


R/OLD/NEW/3

 Changes first 3 OLD to NEW on current line

58 Thesys Training Centre


R3/OLD/NEW

 Changes first OLD characters to NEW characters over 3


lines

59 Thesys Training Centre


R3/OLD/NEW

 First OLD characters to NEW characters are changed over 3


lines

60 Thesys Training Centre


RU3/OLD/NEW

 Changes all OLD to NEW over 3 lines

61 Thesys Training Centre


RU3/OLD/NEW

 All OLD character are changed to NEW characters over 3


lines

62 Thesys Training Centre


Summary

 We have learnt about the


• Various Jbase tools & utilities commands
• Features of JED
• Navigation in Editor

63 Thesys Training Centre


All product names and other company names used herein are for identification purposes only and
may be trademarks or registered trademarks of their respective owners. Errors and omissions excepted,
all specifications are subject to change without notice.

© 2009 Thesys Technologies Incorporated. All rights reserved.

FOR MORE INFORMATION


Visit : www.thesys.co.in
email : marketing@thesys.co.in

You might also like