Mappagifs
Différence entre versions
De MappingDoc
imported>Admin m (1 révision importée) |
(Balise : Éditeur visuel) |
||
(Une révision intermédiaire par le même utilisateur non affichée) | |||
Ligne 26 : | Ligne 26 : | ||
Convert SCS to TEXT: | Convert SCS to TEXT: | ||
mappagifs -infile:/tmp/t.scs -outfile:/tmp/t.pag -isSCS -overflow:66 -lengthrec:132 -codepage:424 -tocodepage:1252 -ucs2 | mappagifs -infile:/tmp/t.scs -outfile:/tmp/t.pag -isSCS -overflow:66 -lengthrec:132 -codepage:424 -tocodepage:1252 -ucs2 | ||
+ | <br /> | ||
+ | |||
+ | ====Commande apparentées==== | ||
+ | [[OPALE:10.0:Utilisation: Gérer les fichiers spools: MAPSPLF|MAPSPLF]], [[RESTOREPAG]] |
Version actuelle datée du 16 juin 2023 à 08:41
mappagifs
Send file to PC command.
[ -infile:XXXX ] Input file [ -outfile:XXXX ] Output file [ -overflow:XXXX ] Max number of lines per page [ -startpg:XXXX ] Start page [ -stoppg:XXXX ] End page [ -lengthrec:XXXX ] Max page width [ -removepjl ] Remove PJL tags [ -ucs2 ] Convert into Unicode [ -codepage:XXXX ] Original infile codepage (default: 1148) [ -tocodepage:XXX ] Output file codepage (defaut: 1252) [ -isPCL ] With -ucs2 and/or -codepage, parse PCL code first. [ -isAFPDS ] With -ucs2 and/or -codepage, parse AFDPS code first. [ -isSCS ] Allows you to also parse SCS code (iSeries) [ -dbcssize2 ] Keeps SO/SI delimiters (for DBCS Spoool files only)
Convert AFPDS to TEXT:
if working in non-unicode (with UNICODE=OFF in mapping.conf)
mappagifs -infile:/tmp/t.afp -outfile:/tmp/t.pag -isAFPDS -overflow:66 -lengthrec:132 -codepage:1148 -tocodepage:1252 -ucs2
if working in unicode (with UNICODE=ON in mapping.conf)
mappagifsU -infile:/tmp/t.afp -outfile:/tmp/t.pag -isAFPDS -overflow:66 -lengthrec:132 -codepage:1148
Convert SCS to TEXT:
mappagifs -infile:/tmp/t.scs -outfile:/tmp/t.pag -isSCS -overflow:66 -lengthrec:132 -codepage:424 -tocodepage:1252 -ucs2