Mapconvert
Différence entre versions
De MappingDoc
imported>Rdal (→mapconvert) |
imported>Admin m (1 révision importée) |
(Aucune différence)
|
Version du 6 mars 2019 à 09:11
mapconvert
This command converts ebcdic to ascii or ascii to ebcdic.
Usage: map_convert options
-ascii : Convert ebcdic to ascii -ebcdic : Convert ascii to ebcdic -ucs2 : Use internal mapping table -revert : If the code page is DBCS, switch bytes -fcfc:xxx : Output is FCFC for iSeries -defaultcharspace : Replace each unknown character with a blank space (else replace with 0x00) -arabicdigits : convert 0-9 into Arabic numbers -base64bin : converts base 64 files into binary -hex2bin : converts hexadecimal files into binary -listucs2 : lists all supported code pages [-infile:] : source file (default: stdin) [-outfile:] : target file (default: stout) [-lengthrec:XXX] : truncate after XXX characters (only with -ebcdic)
Examples:
map_convert -from:1256 -to:1200 -ucs2 -infile:/myfilein.txt -outfile:/myfileout.ucs2 map_convert -base64bin -infile:/myfilein.hex -outfile:/myfileout.bin