I have a file in my Unix ( SOLARIS ) with EBCDIC format...I want this file to read in ASCII OR unicode...Is it possible with UNIX to convert this file on ASCII OR UNICODE format from EBCDIC format?
I was searching through web and found only conversion table
Hi All,
I am facing EBCDIC to ASCII Binary conversion on Solaris i-series Unix system.
However this is working fine on Solaris Sparc Unix system.
Input file having EBCDIC format does not work on Solaris i-series Unix system.
Could you please tell me, what will be the root cause for same? (14 Replies)
Hi everyone,
I have a 70MB EBCDIC file, with record length 102, block size 32742 and IBM standard label.
I commanded
dd if=input file of=outputfie ibs=32742 cbs=102 conv=ascii
but I still don't get a viewable file under ASCII.
Can anyone told me what's the problem?
Do I need... (12 Replies)
Hi,
I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ?
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (0 Replies)
Hi,
I want to convert ebcdic values to ascii values. Are there anyany specific c++ libraries with g++ compiler, which can do it ?
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) (19 Replies)
Hi All ,
I have a mainframe file which contains the data in EBCDIC unreadable format.I have downloaded this raw unreadable file from mainframe system to windows in text format then I pushed to Unix system.Now I want to convert this file to ASCII readable format file in unix.Can anyone advise me... (2 Replies)
Hi All ,
We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file in unix box.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic... (7 Replies)
Hi,
I have a input file which is EBCIDIC and it has packed decimals.
Can anyone help me to convert EBCIDIC file to ASCII(Need to convert even Packed decimal values also to normal format).
Thanks
swapna (12 Replies)
Hi,
We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic file to ascii... (11 Replies)
Discussion started by: swapna_1990
11 Replies
LEARN ABOUT DEBIAN
pegasus-tc-converter
PEGASUS-TC-CONVERT(1)PEGASUS-TC-CONVERT(1)NAME
pegasus-tc-converter - A client to convert transformation catalog from one format to another format.
SYNOPSIS
pegasus-tc-converter [-Dproperty=value...] [-v] [-q] [-V] [-h]
[-I fmt] [-O fmt]
[-N dbusername] [-P dbpassword] [-U dburl] [-H dbhost]
-i infile[,infile,...] -o outfile
DESCRIPTION
The tc-convert program is used to convert the transformation catalog from one format to another.
Currently, the following formats of transformation catalog exist:
Text
This is a easy to read multi line textual format.
A sample entry in this format looks as follows:
tr example::keg:1.0 {
site isi {
profile env "JAVA_HOME" "/bin/java.1.6"
pfn "/path/to/keg"
arch "x86"
os "linux"
osrelease "fc"
osversion "4"
type "installed"
}
}
File
This is a tuple based format which contains 6 columns.
RESOURCE LFN PFN TYPE SYSINFO PROFILES
A sample entry in this format looks as follows
isi example::keg:1.0 /path/to/keg INSTALLED INTEL32::LINUX:fc_4: env::JAVA_HOME="/bin/java.1.6"
Database
Only MySQL is supported for the time being.
OPTIONS -Dproperty=value
The -D option allows an experienced user to override certain properties which influence the program execution, among them the default
location of the user's properties file and the PEGASUS_HOME location. One may set several CLI properties by giving this option multiple
times.
The -D option(s) must be the first option on the command line. CLI properties take precedence over the file-based properties of the
same key.
-I fmt, --iformat fmt
The input format of the input files. Valid values for the input format are: File, Text, and Database.
-O fmt --oformat fmt The output format of the output file. Valid values for the output format are: File, Text, and Database.
-i infile[,infile,...] --input infile[,infile,...] The comma separated list of input files that need to be converted to a file in the
format specified by the --oformat option.
-o outfile, --output outfile
The output file to which the output needs to be written out to.
Other Options
-N dbusername, --db-user-name dbusername
The database user name.
-P dbpassword, --db-user-pwd dbpassword
The database user password.
-U dburl, --db-url dburl
The database url.
-H dbhost, --db-host dbhost
The database host.
-v, --verbose
Increases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are
logged.
-q, --quiet
Decreases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are
logged.
-V, --version
Displays the current version number of the Pegasus Workflow Planner Software.
-h, --help
Displays all the options to the pegasus-tc-converter command.
EXAMPLE
Text to file format conversion
pegasus-tc-converter -i tc.data -I File -o tc.txt -O Text -v
File to Database(new) format conversion
pegasus-tc-converter -i tc.data -I File -N mysql_user -P mysql_pwd -U jdbc:mysql://localhost:3306/tc -H localhost -O Database -v
Database (username, password, host, url specified in properties file) to text format conversion
pegasus-tc-converter -I Database -o tc.txt -O Text -vvvvv
AUTHORS
Prasanth Thomas
Pegasus Team http://pegasus.isi.edu
05/24/2012 PEGASUS-TC-CONVERT(1)