Ticket #161 ( Closed )

Short Description Interpretation of the vertical bar
Entered By: PeteL When: 1998-09-22 10:31:14 Build: 1.03.25g
Categories Type: Problem   Department: Product   Category: 3270 Datastream
Description
I have an application on the mainframe that requires use of the vertical bar, EBCDIC x"4F". On all other PC applications, this can be keyed by use of the double-vertical-bar above the backslash key. By pure definition, this is an ASCII x'7C', which is what Screensurfer is sending to the host (as an EBCDIC x'6A'). However, I know of no use for this key on the host, and there does not appear to be an equivalent ASCII key for the single vertical bar. Can you change your translation table to convert ASCII x'7C' to an EBCDIC x'4F'? If that poses potential problems, can you provide an alternate means to have this conversion done?
thanks
Append By: WindSurfer  When: 1998-09-22 12:01:43  New Status: Pending Customer
Comment This shouldn't be a problem. We can probably just change it and/or give you your own translation table capability.

This would work like OS/2 Comms Manager, whereby you get a default or can set a name for a file and then that file defines the ASCII to EBCDIC table.

Coincidentally, the format of the table is the same as for CM...

Append By: PeteL  When: 1998-09-22 12:28:31  New Status: Pending IE
Comment either way would be fine
Append By: WindSurfer  When: 1998-10-09 13:01:02  New Status: Pending Customer
Comment Both have been added for today's build-- there will be a new registry entry "TranslateTable" which if not blank will be used to replace the existing translation table.

Meanwhile, 4F and 7C are now symmetric (sp?) in the default translation table.

Append By: PeteL  When: 1998-10-22 08:50:49  New Status: Closed
Comment working great, thanks (i haven't tried the external translate table, but if i ever have the need to, i'll let you know, especially since other than specifying the name, i'm not sure how to build it).
Append By: PeteL  When: 1999-10-08 08:08:30  New Status: Pending IE
Comment I know it's been awhile since this closed (a year!), but I seem to have another wierd one - I'm trying to generate an EBCDIC x'5F', and according to some 'standard' translation tables I have, that would seem to be an ASCII x'5E', although it's not entirely clear from looking at the character representations. Can you let me know if you are translating anything at all into an EBCDIC x'5F'? If not, can you tell me more about how to make my own tables than "it looks like OS/2"? (a sample would be just fine)

thanks ;-)

Append By: WindSurfer  When: 1999-10-08 08:36:43  New Status: Pending Customer
Comment The ASCII x'AA' goes to EBCDIC x'5F' in the default table. A lot of graphic characters are now devoted to Euro diacritics, so not sure what this char (x'AA') exactly is...

Actually, there are two translation table formats supported. The first, (the "OS2 format") has 32 lines: the first 16 are ASCII->EBCDIC and the last 16 are EBCDIC->ASCII.

Each line contains 16 hex values right next to each other, so that if the first two lines do a straight conversion they look like:

0102030405060708090A0B0C0D0E0F
1112131415161718191A1B1C1D1E1F

The other format is slightly friendlier and breaks things-up into 16 character chunks, 4 characters a line-- and example is at ftp://ftp.ieinc2.com/uploads/sample.ebc. The .EBC extension is significant because it identifies the file as of this format.

Append By: PeteL  When: 1999-10-08 08:46:40  New Status: Pending IE
Comment I tried AA - it seems to have turned into a x'40' (space)
Append By: PeteL  When: 1999-10-08 08:51:29  New Status: Pending IE
Comment if i want to play with the .ebc file, where does it need to live in order for ss to find it, or is the registry setting a full drive:\path\file setting?
Append By: WindSurfer  When: 1999-10-08 09:57:32  New Status: Pending Customer
Comment The AA to 40 is an odd one-- how did you set a character to ASCII x'AA' in the first place?

The registry setting is taken "as-is" so I believe that you should either put-in a full drive\directory, or place the file in the \screensurfer\bin directory.

Append By: PeteL  When: 1999-10-08 12:30:56  New Status: Pending IE
Comment I edited the template with hexedit. I'll try playing with the translate table.
Append By: PeteL  When: 2000-01-05 11:31:14  New Status: Closed
Comment i guess i got this taken care of, or else it doesn't matter any more, so i'll close