Platform Framework
R24 AMR | Min(s) read

Syntax

This section shows you the JED console syntax in interactive and script modes.

Authenticated users can access TAFJ-JED. Hence, username and password has to be passed as parameters to JED. The users to access JED needs to be created using tUserMgnt.bat or tUserMgnt.sh.

TAFJ-JED application is designed to edit and modify database records by providing their file name and record key. It is designed to replace the JED GUI application on platforms such as UNIX, AIX, and z/OS.

JED Console is faster than the current SWING based application, and built upon TAFJ-Core framework to be independent of any native libraries. You can also call JED console from DBTools console and in standalone mode too.

Execution – Interactive mode

JED console can be launched from TAFJ_HOME/bin.

tJed [-u <username> –p <password> -cf <configuration>[.properties]] <file name> <record key>

The targeted database is defined in the default configuration file or in the configuration specified by the -cf option. The username and password should be passed along with –u and –p option respectively.

To edit the record SYSTEM from SPF file.

tJed -u <username> –p <password> F.SPF SYSTEM

Optional Parameters

Execution - Script mode

It is possible to modify a record without opening the JED console. This mode is known as script mode.

To modify a record, you need to add -s to the command, specify the field number you want to change and provide the associated values.

To modify the F.TSA.SERVICE, COB record with field number of agent (WORK.PROFILE) and service status (SERVICE.CONTROL), you need to do the following:

If you do not have any idea of the related field numbers, then you have to open the record in console mode and get these numbers.

tJed -u <username> –p <password> F.TSA.SERVICE COB

You can see that the field numbers you want to update are 3 and 6. Therefore, type the following command to change these fields to TWO and START:

tJed -u <username> –p <password> -s F.TSA.SERVICE COB 3=TWO;6=START;

Depending on the operating system you need to escape the part of command after -s option with quotes JED -s ‘F.TSA.SERVICE COB 3=TWO;6=START;’.

The record will be automatically updated to its new value without opening the console.

This also works for multi-value and sub-value. For example,

tJed -u <username> –p <password> -s MY.FILE MYRECORD 1.1=VM;2.1.1=SM;

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:14:15 PM IST