Informatica Source File Name with Special Character like 'ä' - informatica

I am having a problem with my source file name when loading a source from list file. My file is named: "Bär.csv" but when executing, this error occurs. It can't find my file as it was changed to "Bör.csv". Is there a way for the reader to read special characters in the file name?
Error opening file [C:\Informatica\10.2.0\server\infa_shared\SrcFiles\Inbound\test\Bör.csv]. Operating system error message [The system cannot find the file specified.].

You have to configure your integration service to use Unicode.

Related

error in indirect file load in Informatica

I am trying indirect file load in Informatica.
I put below files in $PmSrcFilesDir (from here the workflow task pick up files)
-list.txt
-production_plan_20210906.csv
-production_plan_20210907.csv
The list.txt files contains the csv file names only.
I configured below options:
Source filetype- Indirect
Source filename- list.txt
Source file directory- $PMSourceFileDir
After running the workflow it shows error- as
FR_3000 Error Opening File...No such file or directory
You can give absolute path in list.txt.
/Path/to/file/production_plan_20210906.csv
/Path/to/file/production_plan_20210907.csv
You can use command task or shell script to get absolute path and file name.
Pls check session log, which file it cant read - list file or main file. If list file mention $PMSourceFileDir correctly in param file.
Now, make sure informatica user (user that runs infa server) has read access to those data, list folders and files. Admin can help.

Breakpad's dump_syms not working properly

The thing is that I have been working with breakpad recently and I have some issue generating the "FILE" data in the sym file.
In my sym file :
FILE 46 c:\users\soorya-pt2570\desktop\project files\crashanalyserbackend\breakpad\simulatecrash\project\source.cpp
The actual path to my source file :
"C:\Users\soorya-pt2570\Desktop\Project Files\CrashAnalyserBackend\BreakPad\SimulateCrash\project\Source.cpp"
as you can see, the path to my source file is converted to lowercase. Any Idea on what's going wrong?
I used the dump_syms.exe available here for my pdb file
The problem is that Windows file systems are usually case insensitive. For our internal use case I have a script that does a mapping of the file names from the case insensitive name that dump_sys.exe produces to the correct name. I'm not aware of any direct fix in breakpad itself. If you only handle the path on Windows it should actually not matter at all and you should not see any issues from the lower case file names.

Error using GDAL to access HDF5 Bands

I'm trying to open an HDF5 file, specific bands, but GDAL is giving an error message:
"'HDF5:C:\pathToFile\pathToFile/filename.h5://ImageData/B4' does not
exist in the file system and is not recognised as a supported data set
name"
I got the error message after the GDALOpenInternal call using CPLGetLastErrorMsg(). I can't step into GDALOpenInternal (with Visual Studio) because we don't have GDAL source cpp file; just h file that came with the package, unless I'm searching for the wrong file name.
The string for the ConnectionString parameter for GDALOpenInternal is shown in the quotes above.
I found file does not exist in file system, but they said it was because of using non-ascii characters in file path string. I didn't see any other pertinent info on this error message.
We need to access the specific band of the HDF5 file. I noticed that our slashes in the path are showing in different directions, but I'm not sure that would be the issue here. We have both windows and linux OS's. This error was seen on windows os.
We used (gdalinfo.exe filename.HDF5) and do see that the B4 exists there.

Reading from a .txt file with an unspecified name but with a known directory c++

I have built a program in c++ whitch checks how many words a text has.
The text is stored in a .txt file in the same directory as my .exe file. I was wondering if there is a way to make the name of my .txt file irrelevant as long as the .txt file is in the same directory as my .exe file is? I would like to be able to change the name of the .txt file and still run my program successfully without getting a "error opening file" message.
You need to enumerate the files in your app's folder until you find one with a .txt file extension.
However, there is nothing in the standard C++ libraries to handle that.
You need to use platform-specific APIs 1 to determine the folder where your app is running from, and then you can use platform-specific APIs 2, or a 3rd party cross-platform API 3, to enumerate the files in that folder.
Once you discover the file, only then can you open it.
1: (like parsing the result of GetModuleFileName() on Windows)
2: (like FindFirstFile() and FindNextFile() on Windows)
3: (like boost::filesystem)

How to get the extension of a file in windows

Is there any way so that i can get extension of a given file.
if suppose there is a file "abc.txt" but after renaming the file name is "abc.exe" now the extension is .exe is there any way that i can get the original extension of a file in which it was created.
I looked for GetFileInformationByHandle but that was not much of help
is there any way that i can get the original extension of a file in which it was created
No, not without any operating system add-ons or a simple backup of the file
.