Mapasa2txt

Différence entre versions

De MappingDoc
imported>Rdal
(mapasa2txt)
 
imported>Admin
m (1 révision importée)
 
(Aucune différence)

Version actuelle datée du 6 mars 2019 à 09:11

mapasa2txt

This command converts all characters 1 into page breaks every n characters.

mapasa2txt -length:xxx        -> Line break every xxx characters
mapasa2txt -ascii_from_mvs    -> Line breaks are controled by OA,OD characters
mapasa2txt -skip:xxxx         -> Ignores the first n bytes
mapasa2txt -ebcdic_from_mvs   -> Original stream is ebcdic
           -channel2:         -> Defines the number of breaks to be applied to asa channel
           -channel3:
           -channel4:
           -channel5:
           -channel6:
           -channel7:
           -channel8:
           -channel9:
           -channel10:
           -channel11:
           -channel12:

Use stdin/stdout or the following parameters :

-filein:xxxx       -> input file
-fileout:xxxx      -> output file

Examples :

1) on ebcdic file from a MVS where 133 is the spool file width
      mapasa2txt -ebcdic_from_mvs -length:133
2) on ebcdic file where the first bytes contain an overlay
      mapasa2txt -skip:2748 -ebcdic_from_mvs -length:133
3) on ascii file where width is fixed
      mapasa2txt -length:133
4) on ascii file where width is controled by 0A,0D
      mapasa2txt -ascii_from_mvs
5) on ascii file where width is controled by 0A,0D with asa channel 2 on line 10
      mapasa2txt -ascii_from_mvs -channel2:10