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

Text get wrapped


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Mon Jun 12, 2006 4:45 pm
Reply with quote

Hi,

when dowloading from mainframe for few records, details after a period is getting to next line. this is not happening for all records.

also i'm not sure if its a 'period' because the hexadecimal value is x'15' instead of x'4b'.

please help me if you u ve faced similar issues.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jun 12, 2006 6:23 pm
Reply with quote

Pull out your handy EBCDIC-ASCII conversion chart and tell us what an EBCDIC Hex '15' converts to in ASCII.

Then, tell us what was wrong in general.
Back to top
View user's profile Send private message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Mon Jun 12, 2006 7:16 pm
Reply with quote

Thanks a lot superk,

But still have one doudt.

for X'15' , EBCDIC has new line and ASCII has NAK( -ve Acknowledge).

so data will be converted to EBCDIC. tats y its going to next line.

Let me know if my understanding is right.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jun 12, 2006 8:05 pm
Reply with quote

According to the conversion chart I use, the conversion of an EBCDIC X'15' (NL or Newline) is ASCII X'0A' (LF or Line Feed).

Your data has transparency (meaning that it contains hex values less than a space (X'40')) and, as such, it cannot be properly converted from EBCDIC to ASCII.
Back to top
View user's profile Send private message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Tue Jun 13, 2006 9:14 am
Reply with quote

can u pls. share the conversion chart u r using.. it seems i'm not using the right one.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jun 13, 2006 6:01 pm
Reply with quote

I included the url in my last post (click on the highlighted text "conversion chart I use").
Back to top
View user's profile Send private message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Tue Jun 13, 2006 6:31 pm
Reply with quote

Thanks Superk,

is it possible to check if a value is a junk value then change that to a other value like spaces or periods..
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jun 13, 2006 11:19 pm
Reply with quote

There are all sort of methods you might use.

An easy way is to use ISPF EDIT. Do a FIND for invalid characters (i.e. non-display characters) by using FIND P'.'. Then, you can change the value of any non-display character found to any other value with a CHANGE command, i.e. CHANGE X'15' X'40' ALL.
Back to top
View user's profile Send private message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Wed Jun 14, 2006 9:22 am
Reply with quote

is it possble to do simliar check in program instead of ispf edit?
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts TEXT-TO-PDF Compuware & Other Tools 1
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts interactive cics program using CICS s... CICS 5
Search our Forums:

Back to Top