Trace32 config file error - trace32

I am using following settings to control trace32 cmm scripts execution using C# scripts.
Node="localhost"
Port="20000"
PackLen="1024"
Device="1"
Somehow I recently uninstalled & installed trace32 & lost config file. Now I am not able to execute T32_Init() function itself. Can someone give me the config file content ?

If TRACE32 still starts, but you just can't connect to it via the remote API, add the following lines to your TRACE32 configuration file (config.t32):
RCL=NETASSIST
PORT=20000
There must be an empty line before and after that block.

Related

"File is locked, but no other information is available" when trying to read from (NFS) folder with SAS on linux?

Trying to open a .sas file from a read-only NFS mount on CentOS7 via SAS (v9.4 TS Level 1M5) with the Program Editor and getting the error
ERROR: File is locked, but no other information is available. File=/path/to/sas/file.sas System Error Code = 37.
ERROR: File is in use, /path/to/sas/file.sas
Am not sure what could be causing this. Not sure what processes could be accessing the file aside from the process I am opening the file with and have no problems with accessing the NFS share and opening the file with other applications on the server (eg. Pluma text editor).
Running lslock on the server, none of these .sas files show up.
If relevant, the /etc/exports config for the NFS mount on the exporting server I'm trying to access from the client looks like...
...
/path/to/nfs/share myclientserver(ro,root_squash,sync) someotherserver(...) ...
...
Anyone with more experience have any ideas what could be going on here? Any other debugging info that should be added to this question?
we had a similar problem but not on CENTOS. The unmount and mount fixed this problem. Have you tried?

Informatica powercenter shell not working

I tried to run command task to changes clear contents of a file using .sh commands and printf, but neither one isn't working. where as I'm able to run mkdir,copy and rm are working.
Just wondering should I have to change any configuration settings for clearing and write contents of a file.

Syntax for PRESOURCE call using Protocol bridge agent as source in MQFTE

What is the syntax for calling a shell script using presource call in mqfte protocol bridge agent as source ( Linux platform is used for FTE local as well as sftp server to which the protocol bridge agent is connecting.) Below is the error i am getting. BFGCR0003E: A request has been made for the agent to call the command ''10.350.81.70:/testing/Sample_presrc.bat''. The agent's command path '10.350.81.70:/testing/' does not define a path to this command. Only commands whose path is on the agent's command path can be run.
Note. The script created is batch why because, the SFTP server is based on wintel platform ( where the script will be placed) but the file system is linux. And the same way the fte local on which the protocol bridge agent installed also linux platform.
Thanks,
Vasuki P
Given the error I think your syntax is just fine. The 'command path' the error refers to maps to the 'commandPath' property of the source agent's agent.properties file documented here:
http://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.wmqfte.doc/properties.htm
The commandPath is a control which lets you restrict which commands can be run using presource calls and similar - it's a measure to help prevent the wrong applications being called, or worse someone who has compromised your MFT system being able to run any command they please.
':' is the path separator on Unix, so your commandPath is set up to run commands in a directory named '10.350.81.70', and another directory named '/testing/'. The command needs to be on a mounted filesystem on the machine the source agent is running on for a presource call. If 10.350.81.70 is the source agent's host, then alter the commandPath for that agent to '/testing' and alter the syntax of your createTransfer command to invoke '/testing/Sample_presrc.bat'

Qt: launch a message box periodically with crontab in ubuntu

I am trying to launch a Qt message box every minute. I added a line in crontab to run the Qt program's executable and redirected the error output to a file in my home directory.
There is no problem with the Qt program that launches the message box because I tested it, but when I try to launch it with crontab the following error arises:
QXcbConnection: Could not connect to display
Aborted (core dumped)
I checked that over the internet and found a thread that might be helpful: https://unix.stackexchange.com/questions/148945/could-not-connect-to-display-in-one-user-account/149026#149026
I believe the first response gives the solution but it's not clear.
It suggests to use x11 to share the desktop and xauth to add security measures but doesn't specify how to configure them. I have xauth already installed but the error persists.
Any ideas about how to solve this problem?
I think the DISPLAY environment is missing. I suggest you wrap your application in a wrapper script (let's call it horloge.sh):
#!/bin/sh
DISPLAY=:0
export DISPLAY
/home/salwa/computing/cpp/horloge
Then put the horloge.sh in your crontab. Don't forget to do a chmod u+x horloge.sh so that the script is executable.
Make sure that the user that launches your app in the crontab line is you. Otherwise, it may not have permissions to use the X server.

Not getting IDQ log while running using infacmd command

We are running a shell script that runs a deployed IDQ mapping. I tried in unix directories to see if it created a mapping log file but no where i can see.
I checked in various directories under "" <infa_home> " folder but i could not trace the log file.
If you have come across the same situation, please do let me know.
Which log you are looking for? Mapping/ workflow/ DIS/Webservice/Catalina?
All IDQ logs stored under $HOME/infa_shared/log/disLogs/*