IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Handle junk values not readable by COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Jul 15, 2010 1:28 pm
Reply with quote

surya anem wrote:
Thats a good solution. But i was just trying to understand why and what values does file-aid considers invalid in an ALPHANUMERIC field for viewing.

FileAid informs you that it has found characters that will not display on the screen, because no printable character exists in the screen character set. So will ISPF Browse and other file viewer appplications to warn you that what you see on screen is not what you have in your file.
Back to top
View user's profile Send private message
haiardhan

New User


Joined: 26 Jul 2008
Posts: 7
Location: india

PostPosted: Wed Apr 24, 2013 5:03 pm
Reply with quote

Hi guys i understood the problem what question is :

x'05' can not shown any value ... not even spaces(x'40')

x'05' is happend to be appear becuase of typo mistake of user.... when he enter the data ... by accidently he might have entered alt+'some key'

hense the data is showing like as he posted.

SWL.I.S..TRFT.SRM.15
EED0C4E40EDCE0EDD0FF
26359B2B539635294515[/b]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 24, 2013 5:54 pm
Reply with quote

haiardhan, nice of you to join the discussion two years and nine months late ....

Quote:
x'05' is happend to be appear becuase of typo mistake of user
And, actually, this statement is wrong. If you find the 037 code page for EBCDIC, you will find that X'05' is described as HT (also known as horizontal tab). It is possible, for example, to take data from a PC to a mainframe and have X'05' characters show up without being keyed -- for example, an iTunes export file uses X'05' to separate fields and to align data vertically.
Back to top
View user's profile Send private message
haiardhan

New User


Joined: 26 Jul 2008
Posts: 7
Location: india

PostPosted: Wed Jun 12, 2013 4:41 pm
Reply with quote

Robert....

I hope surya was giving you a data which is having problem...with x'05' in between the two words of a record.

The data is something like below

OWEN.SLIDE SANDAL
DECD0EDCCC4ECDCCD4
665552394502154130



The junk here is the dot between owen and slide 'OWEN.SLIDE'
which is a junk value of equivalent of hex '05'

please check the below attached for the exact problem to understand.




[/img][/url]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 12, 2013 5:17 pm
Reply with quote

haiardhan: a few points you need to consider:

1. surya's last post was July 2011. While surya may still be lurking, it is also entirely possible you are providing advice to someone who stopped reading posts 21 months before you posted.

2. there is no such thing as a "junk value" -- period. Each and every character in the collating sequence has a purpose, if nothing else than to complete the collating sequence. Talking about "junk values" indicates that you have ABSOLUTELY no knowledge of computers, OR that your thinking is so sloppy that anything you post is suspect, automatically.

3. as I posted before, the X'05' character represents a tab character. It can be used in TSO/ISPF edit sessions as well as come to a mainframe from a PC in a text file.

4. do not post attachments -- many on this forum cannot download them due to company restrictions, so you are significantly reducing your audience when you post an attachment.

5. what are you trying to say, anyway? If you want to say that X'05' is not a valid character on a 3270 screen, so what? It can still be placed on a screen and it is still not a "junk value".
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top