Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Handle unprintable character on CICS screen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
dwijadas

New User


Joined: 20 Sep 2005
Posts: 14

PostPosted: Wed Feb 17, 2010 2:23 pm    Post subject: Handle unprintable character on CICS screen
Reply with quote

Guys,

One of our CICS screen is for entering notes ( user can enter all sort of text) against an account.

It goes well for hardworking user (who like to type out on the screen) but some lazy user is copying the text from various application (excel,word,email)

Now the problem, various control character is getting added when user paste the text into CICS screen. Those character is invisible to user as they are "non displayable" and the CICS screen takes the text and store into files.

All good.

But when some one want to view the same info, CICS cant show. The screen hangs due to non displayable character.

I need ideas on how can I handle this situation ? I need to filter this while writing into the file for first time.

Thanks a ton in advance !
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Feb 17, 2010 5:56 pm    Post subject: Reply to: Handle unprintable character on CICS screen
Reply with quote

You will not be able to display these non-displayable/non-printable characters on the screen. In order to do that, you'd need to convert them to two-bytes.

For example, X'BA' is a non-displayable character and will lock-up your terminal upon a SEND.

You would need to convert this to C'BA' (X'C2C1'). Enough of these and you'll run out of room as well as confuse the user, which can be a frightening situation. icon_eek.gif

You could use an INSPECT to convert these non-displayable characters to space (X'40') using a FROM and TO translate-table. This will avoid terminal lock-ups.

Bill
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 17, 2010 8:42 pm    Post subject:
Reply with quote

Hello,

Rather than validating databse data before sending it to the screen(s), suggest the code that inserts the rows into the database be upgraded to convert the "bad" values to spaces.

IMHO, it is a very bad practice to store "junk" and then have to deal with it later. . .
Back to top
View user's profile Send private message
dwijadas

New User


Joined: 20 Sep 2005
Posts: 14

PostPosted: Mon Mar 08, 2010 2:08 pm    Post subject: Reply to: Handle unprintable character on CICS screen
Reply with quote

As of now we advised user to add 2 line into IBM PCOM session. its working. no one is willing to touch program in order to handle those character.

Thanks to both of you for valuable input.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Mar 08, 2010 8:19 pm    Post subject:
Reply with quote

Hello,

Thanks for the feedback.

Quote:
no one is willing to touch program in order to handle those character.
Which means there will be other "opportunities" to deal with the problem . . . icon_neutral.gif
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Mar 09, 2010 3:19 am    Post subject:
Reply with quote

Quote:
no one is willing to touch program in order to handle those character


I'll do it for you. ( For a price ) icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us