Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3270 emulation

Status
Not open for further replies.

thengst

Programmer
Jan 23, 2002
5
US
I have a CICS tran that returnes names to the screen and then I do a screen scrape. I am getting names that have the spanish character n (n with an inverted s ontop). When this is encountered it deletes 1 byte from my field size which causes an error in the next name string because of an invakid character. Is there a way to change / bypass /ignore this character in the emulation.

The format of the screen is
01 wk-name.
05 wk-number pic 9(05).
05 wk-name pic x(35).
05 filler pic x(02).

In the VSAM file that character is unprintable and the hex representation is x'13'.


Thanks in advance.



 
You may want to use the CHARACTER-SET Clause (ENVIRONMENT DIVISION, OBJECT-COMPUTER): CHARACTER-SET IS ESPANOL.

As for writing this type of character to VSAM, you may need to scan your data in HEX, and replace 'unprintable characters' with the USASCII equivalents.

Dimandja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top