HP 3000 Manuals

Conversion Procedure [ MPE XL Native Language Programmer's Guide ] MPE/iX 5.0 Documentation


MPE XL Native Language Programmer's Guide

Conversion Procedure 

To convert 7-bit substitution data to 8-bit ROMAN8 data, perform the
following steps:

   1.  Determine which files need to be converted.  A file must be
       converted if the data was input from an HP 262X terminal
       configured for 7-bit operation or for a national substitution set
       other than USASCII.

   2.  Determine the national substitution set (language on the terminal
       configuration menu) from which the conversion should be done for
       each file.  This is the language the HP 262X terminal was
       configured for at the time the file data was input.

   3.  Refer to Table D-1 to determine which utility should be used to
       convert each file.

   4.  Back up all files to be converted (store to tape or SYSGEN).

   5.  Run each utility, supplying it with the language and file names as
       determined above.  Instructions for running each utility are found
       at the end of this appendix.

   6.  Configure all terminals and printers for 8-bit operation.  (At
       least one terminal must already be configured for 8-bit operation
       when the V7FF8CNV utility is run.)  Refer to System Startup, 
       Configuration, and Shutdown Reference Manual (32650-90042) for
       peripheral configuration.

Figure D-1 is a sample dialog from a session executing N7MF8CNV for both
text and data files.
_______________________________________________________________________________
|                                                                             |
|     :RUN N7MF8CNV.PUB.SYS                                                   |
|                                                                             |
|     HP European 7-Bit character sets are:                                   |
|                                                                             |
|        1. SVENSK/SUOMI                                                      |
|        2. DANSK/NORSK                                                       |
|        3. FRANCAIS M                                                        |
|        4. FRANCAIS                                                          |
|        5. DEUTSCH                                                           |
|        6. UK                                                                |
|        7. ESPANOL M                                                         |
|        8. ESPANOL                                                           |
|        9. ITALIANO                                                          |
|                                                                             |
|     From which character set should conversion be done: 5                   |
|     File types which can be converted are:                                  |
|                                                                             |
|        1. MPE text files (each record converted as one field).              |
|        2. MPE data files (define fields; only defined fields are converted).|
|        3. Test Conversion.                                                  |
|                                                                             |
|     Type of file to be converted: 1                                         |
|     Name of text file to be converted: ABC                                  |
|                                                                             |
|        112 records converted in ABC                                         |
|                                                                             |
|     Name of text file to be converted: Return                               |
|     File types which can be converted are:                                  |
|                                                                             |
|        1. MPE text files (each record converted as one field).              |
|        2. MPE data files (define fields; only defined fields are converted).|
|        3. Test Conversion.                                                  |
|                                                                             |
|     Type of file to be converted: 2                                         |
|     Name of data file to be converted: XYZ                                  |
_______________________________________________________________________________

          Figure D-1.  N7MF8CNV Dialog 
_______________________________________________________________________________
|                                                                             |
|     Please supply one at a time the field to be converted first:            |
|                                                                             |
|        Start, Length:   1,12                                                |
|        Start, Length:  15,30                                                |
|        Start, Length:  61, 6                                                |
|        Start, Length:  Return                                               |
|                                                                             |
|     Data file XYZ: fields to be converted are:                              |
|                                                                             |
|        1,   12                                                              |
|       15,   30                                                              |
|       61,    6                                                              |
|                                                                             |
|     Correct? Return                                                         |
|        287 records converted in XYZ                                         |
|                                                                             |
|     Name of data file to be converted: Return                               |
|     File types which can be converted are:                                  |
|                                                                             |
|        1. MPE text files (each record converted as one field).              |
|        2. MPE data files (define fields; only defined fields are converted).|
|        3. Test Conversion.                                                  |
|                                                                             |
|     Type of file to be converted: Return                                    |
|     HP European 7-Bit character sets are:                                   |
|                                                                             |
|        1. SVENSK/SUOMI                                                      |
|        2. DANSK/NORSK                                                       |
|        3. FRANCAIS M                                                        |
|        4. FRANCAIS                                                          |
|        5. DEUTSCH                                                           |
|        6. UK                                                                |
|        7. ESPANOL M                                                         |
|        8. ESPANOL                                                           |
|        9. ITALIANO                                                          |
|                                                                             |
|     From which character set should conversion be done: Return              |
|                                                                             |
|     END OF PROGRAM                                                          |
|     :                                                                       |
_______________________________________________________________________________

          Figure D-1.  N7MF8CNV Dialog (continued) 



MPE/iX 5.0 Documentation