PASSPORT Knowledge Base
Miscellaneous

Date Published: June 2, 2005
Date Updated: February 11, 2010

Title

Changing Values in Translation Tables

Product

PASSPORT PC to Host

Emulation Types

TN3270, TN5250

Issue

How do I change values on the PASSPORT Host Code Page translation tables?

Solution

Note: The following instructions are for Host Code Page 037 US/Canada.  For additional code pages, please refer to the following page on the IBM web site:

 

http://www-01.ibm.com/software/globalization/cp/cp_es.jsp#EBCDIC

 

In the following example, we will modify the default Host037.tab file and change the values of the open square bracket [ to the cent sign ¢.  Since there is a two-way translation taking place, we will need to modify both the Host to 3270 table as well as the 3270 to Host table in the Host037.tab file:

 

Suggestion: before starting this exercise, it is a good idea to print out this entire knowledge base article, as well as the Host037.tab file. Then, use the printed Host037.tab document to mark your modifications prior to actually editing the file.  Not only will this make it easier to follow the instructions below, but in the event you do not achieve your desired results, you will have the changes made to the translation tables documented for reference.

  1. Make a copy of the Host037.tab file, which is located in the C:\Program Files\PASSPORT\ folder by default, in case you need to revert back to the original file.
  2. Find the hex value for EBCDIC character [ from the EBCDIC Table below, which is BA. (Read column first, then row)

    EBCDIC Table (037):
    (Read column first, then row)

  1. Find the hex value for ¢ in the Rocket Software Modified 3270 Table below, which is 1B. (Read column first, then row)
     

    Note: the Rocket Software Modified 3270 Table is consistent for all host code pages.

  2. Rocket Software Modified 3270 Table:
    (Read column first, then row)

  3. Find location BA in the Host to 3270 table below, which is currently translated to 0a. (Read row first, then column)
  1. Host to 3270:
    (Read row first, then column)

  1.  
  1. -0

  1. -1

  1. -2

  1. -3

  1. -4

  1. -5

  1. -6

  1. -7

  1. -8

  1. -9

  1. -A

  1. -B

  1. -C

  1. -D

  1. -E

  1. -F

  1. 0-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 1-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 2-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 3-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 4-

  1. 10

  1. 00

  1. 55

  1. 50

  1. 40

  1. 5a

  1. 45

  1. 9c

  1. 9d

  1. 5f

  1. 1b

  1. 32

  1. 09

    < li class="p">

    0d

  1. 35

  1. 16

  1. 5-

  1. 30

  1. 5b

  1. 56

  1. 51

  1. 41

  1. 5c

  1. 57

  1. 52

  1. 42

  1. 2a

  1. 19

  1. 1a

  1. bf

  1. 0c

  1. be

  1. 36

  1. 6-

  1. 31

  1. 14

  1. 75

  1. 70

  1. 60

  1. 7a

  1. 65

  1. bc

  1. bd

  1. 7f

  1. 17

  1. 33

  1. 2e

  1. 2f

  1. 08

  1. 18

  1. 7-

  1. 9b

  1. 7b

  1. 76

  1. 71

  1. 61

  1. 7c

  1. 77

  1. 72

  1. 62

  1. 3d

  1. 34

  1. 2c

  1. 2d

  1. 12

  1. 11

  1. 13

  1. 8-

  1. bb

  1. 80

  1. 81

  1. 82

  1. 83

  1. 84

  1. 85

  1. 86

  1. 87

  1. 88

  1. 07

  1. 06

  1. 1e

  1. 48

  1. 00

  1. 4f

  1. 9-

  1. 38

  1. 89

  1. 8a

  1. 8b

  1. 8c

  1. 8d

  1. 8e

  1. 8f

  1. 90

  1. 91

  1. 4b

  1. 4c

  1. 9a

  1. 3f

  1. ba

  1. 1f

  1. A-

  1. 39

  1. 3b

  1. 92

  1. 93

  1. 94

  1. 95

  1. 96

  1. 97

  1. 98

  1. 99

  1. 49

  1. 69

  1. 00

  1. 68

  1. 6a

  1. 05

  1. B-

  1. 3a

  1. 1c

  1. 1d

  1. 4d

  1. 04

  1. 2b

  1. 67

  1. 6b

  1. 6c

  1. 6d

  1. 0a

  1. 0b

  1. 37

  1. 3c

  1. 3e

  1. 6e

  1. C-

  1. 0f

  1. a0

  1. a1

  1. a2

  1. a3

  1. a4

  1. a5

  1. a6

  1. a7

  1. a8

  1. 4e

  1. 58

  1. 53

  1. 43

  1. 5d

  1. 46

  1. D-

  1. 0e

  1. a9

  1. aa

  1. ab

  1. ac

  1. ad

  1. ae

  1. af

  1. b0

  1. b1

  1. 01

  1. 59

  1. 54

  1. 44

  1. 5e

  1. 47

  1. E-

  1. 15

  1. 6f

  1. b2

  1. b3

  1. b4

  1. b5

  1. b6

  1. b7

  1. b8

  1. b9

  1. 02

  1. 78

  1. 73

  1. 63

  1. 7d

  1. 66

  1. F-

  1. 20

  1. 21

  1. 22

  1. 23

  1. 24

  1. 25

  1. 26

  1. 27

  1. 28

  1. 29

  1. 03

  1. 79

  1. 74

  1. 64

  1. 7e

  1. 00

  1. Open the Host037.tab file, which is located in the C:\Program Files\PASSPORT\ folder by default.  If you are using a different host code page, open the appropriate .tab file.

    Note: all Hostxxx.tab files are set to Read Only during setup.  You must disable the Read Only attribute on the file you are modifying before you can save your changes. From Windows Explorer navigate to C:\Program Files\PASSPORT\, locate the .tab file you wish to modify, right-click and choose Properties.  Make sure the check-box next to Read-only is disabled then click OK to save.

  2. Change the 0a value to 1b in the Host to 3270 table.
  3. Next we need to find location 1B in the 3270 to Host table, which is currently translated to 4a. (Read row first, then column)
  1. 3270 to Host
    (Read row first, then column)

  1.  
  1. -0

  1. -1

  1. -2

  1. -3

  1. -4

  1. -5

  1. -6

  1. -7

  1. -8

  1. -9

  1. -A

  1. -B

  1. -C

  1. -D

  1. -E

  1. -F

  1. 0-

  1. 00

  1. da

  1. ea

  1. fa

  1. b4

  1. af

  1. 8b

  1. 8a

  1. 6e

  1. 4c

  1. ba

  1. bb

  1. 5d

  1. 4d

  1. d0

  1. c0

  1. 1-

  1. 40

  1. 7e

  1. 7d

  1. 7f

  1. 61

  1. e0

  1. 4f

  1. 6a

  1. 6f

  1. 5a

  1. 5b

  1. 4a

  1. b1

  1. b2

  1. 8c

  1. 9f

  1. 2-

  1. f0

  1. f1

  1. f2

  1. f3

  1. f4

  1. f5

  1. f6

  1. f7

  1. f8

  1. f9

  1. 59

  1. b5

  1. 7b

  1. 7c

  1. 6c

  1. 6d

  1. 3-

  1. 50

  1. 60

  1. 4b

  1. 6b

  1. 7a

  1. 4e

  1. 5f

  1. bc

  1. 90

  1. a0

  1. b0

  1. a1

  1. bd

  1. 79

  1. be

  1. 9d

  1. 4-

  1. 44

  1. 54

  1. 58

  1. cd

  1. dd

  1. 46

  1. cf

  1. df

  1. 8d

  1. aa

  1. 8e

  1. 9a

  1. 9b

  1. b3

  1. ca

  1. 8f

  1. 5-

  1. 43

  1. 53

  1. 57

  1. cc

  1. dc

  1. 42

  1. 52

  1. 56

  1. cb

  1. db

  1. 45

  1. 51

  1. 55

  1. ce

  1. de

  1. 49

  1. 6-

  1. 64

  1. 74

  1. 78

  1. ed

  1. fd

  1. 66

  1. ef

  1. b6

  1. ad

  1. ab

  1. ae

  1. b7

  1. b8

  1. b9

  1. bf

  1. e1

  1. 7-

  1. 63

  1. 73

  1. 77

  1. ec

  1. fc

  1. 62

  1. 72

  1. 76

  1. eb

  1. fb

  1. 65

  1. 71

  1. 75

  1. ee

  1. fe

  1. 69

  1. 8-

  1. 81

  1. 82

  1. 83

  1. 84

  1. 85

  1. 86

  1. 87

  1. 88

  1. 89

  1. 91

  1. 92

  1. 93

  1. 94

  1. 95

  1. 96

  1. 97

  1. 9-

  1. 98

  1. 99

  1. a2

  1. a3

  1. a4

  1. a5

  1. a6

  1. a7

  1. a8

  1. a9

  1. 9c

  1. 70

  1. 47

  1. 48

  1. 1e

  1. 1c

  1. A-

  1. c1

  1. c2

  1. c3

  1. c4

  1. c5

  1. c6

  1. c7

  1. c8

  1. c9

  1. d1

  1. d2

  1. d3

  1. d4

  1. d5

  1. d6

  1. d7

  1. B-

  1. d8

  1. d9

  1. e2

  1. e3

  1. e4

  1. e5

  1. e6

  1. e7

  1. e8

  1. e9

  1. 9e

  1. 80

  1. 67

  1. 68

  1. 5e

  1. 5c

  1. C-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. D-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. E-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. F-

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. 00

  1. Change the 4a value to ba in the 3270 to Host table.
  2. Repeat steps 1 - 8 above to make any additional customizations.
  3. Save and exit the Host037.tab file.
     

    Note: once the file has been saved with all necessary customizations, you should also make a copy of the Host037.tab file for your records.  Any future upgrades to PASSPORT will overwrite the existing file and all customizations will be lost.

  4. Open an existing PASSPORT session.
  5. From the active session menu, select Communication®Disconnect then Communication®Connect to reload the modified host code page.
  6. Click OK.

More Information

Keywords

host code page, translation, customize, EBCDIC