trace activity at jshell prompt
- kda
- Topic Author
- Offline
- Platinum Member
-
- Posts: 603
- Thank you received: 3
at jshell prompt, can we trace all activity there
Thanks
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- kda
- Topic Author
- Offline
- Platinum Member
-
- Posts: 603
- Thank you received: 3
I can't get you
Thanks
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
2. click on 'Customer Support Portal'
3. click 'Sign In' or 'Register' if you don't have an account
4. sign on
5. click 'T24 clients'
6. in the lower left corner find Tool&Utilities and click 'Temenos Store'
7. under Monitoring find "User Admin Info Gatherer" and click on the picture
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
I tried to implement it on my support environment and I'm getting following error. Pls advise.
jsh ~ -->create-trigger –a –o jutil_ctrl PREWRITE jShell.Audit.Trigger
Called as:
create-trigger {-adto} filename {triggername|*} subroutine_name_to_call
Supported options are:
-a Amend flag - trigger subroutine can amend the record
-d Debug flag - trigger subroutine can be debugged
-t Terminate flag - trigger subroutine can terminate the update
-o Overwrite any existing definition
** Error [ 201 ] **
Unable to open file –a
Thank you,
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
cd $JBCRELEASEDIR/tmp
If you want to use the routine from TMN be aware that there is a bug when a SELECT-LIST ist used.
The list will be lost resulting in strange behaviour.
Change the routine e.g.:
*
IF UNASSIGNED(c$f.jBase.jed.audit.log) THEN
c$f.jBase.jed.audit.log = ""
END
*
* save the selection list, it's blasted by "who am i"
*
ListActive = 0
JedLogSelect = ""
IF SYSTEM(11) GT 0 THEN
ListActive = 1
LOOP
WHILE READNEXT RecId DO
JedLogSelect<-1> = RecId
REPEAT
END
...
...
*
IF ListActive = 1 THEN
FORMLIST JedLogSelect
END
*
RETURN
*-----------------------------
END
You can also change to get hold of more commands
add the sign-on name from T24 (filled when the session was used to run classic) like LogName := " - ":@USER.ROOT
include the content of the selectlist with
IF ListActive = 1 THEN
RjBASEJedLog<jedlogger.datapart> := " " : CHANGE(JedLogSelect,@FM," ")
END
and so on . . .
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
Thank you for the information provided. I have checked the paths and still couldn't able to start the trigger.
jsh ~ -->cd $JBCRELEASEDIR/tmp
jsh /jbase/tmp -->sh
$ ls -al |grep jutil
-rwxrwxr-x 1 t24dm tafc 245760 Jan 09 17:24 jutil_ctrl
-rwxrwxr-x 1 t24dm tafc 8192 Sep 08 2012 jutil_ctrl]D
$ create-trigger –a –o jutil_ctrl PREWRITE jShell.Audit.Trigger
Called as:
create-trigger {-adto} filename {triggername|*} subroutine_name_to_call
Supported options are:
-a Amend flag - trigger subroutine can amend the record
-d Debug flag - trigger subroutine can be debugged
-t Terminate flag - trigger subroutine can terminate the update
-o Overwrite any existing definition
** Error [ 201 ] **
Unable to open file –a
$
Thank you,
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
jsh /jbase/tmp -->create-trigger –a –o jutil_ctrl PREWRITE jShell.Audit.Trigger
Called as:
create-trigger {-adto} filename {triggername|*} subroutine_name_to_call
Supported options are:
-a Amend flag - trigger subroutine can amend the record
-d Debug flag - trigger subroutine can be debugged
-t Terminate flag - trigger subroutine can terminate the update
-o Overwrite any existing definition
** Error [ 201 ] **
Unable to open file –a
jsh /jbase/tmp -->
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
In R11 :
jsh R11/bin -->ls -l CREATE-TRIGGER
-r-xr-xr-x 2 1680 other 20616 May 11 2012 CREATE-TRIGGER
jsh R11/bin -->ls -l create-trigger
-r-xr-xr-x 2 1680 other 20616 May 11 2012 create-trigger
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
Please Log in or Create an account to join the conversation.
- kda
- Topic Author
- Offline
- Platinum Member
-
- Posts: 603
- Thank you received: 3
Yes we found it trace only at jshell prompt, what about at $ prompt which we change it by jsh->sh ====> $
We want to trace as well at $ prompt, Please guide
Thanks
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- yoshan
- Visitor
-
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Just looking into the file you don't know who launched the command and when.
Please Log in or Create an account to join the conversation.
- premat_mil
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Followed every step in the temenos guide, couldn't find any jutil file.
Advise ?
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Should be under your $JBCRELEASEDIR.
Please Log in or Create an account to join the conversation.
- premat_mil
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
But something is happening, with the trigger defined I'm not being able to JED more than one records at once, i.e.:
SELECT XXX LIKE XXX
>JED XXX
Usually it should jed all of them, but it's asking for record name.
Anyone experienced this issue ?
Thank you.
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.