Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Text get wrapped

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Mon Jun 12, 2006 4:45 pm    Post subject: Text get wrapped
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Mon Jun 12, 2006 6:23 pm    Post subject: Re: Text get wrapped
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    Post subject:
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

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Mon Jun 12, 2006 8:05 pm    Post subject: Re: Text get wrapped
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    Post subject:
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

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Tue Jun 13, 2006 6:01 pm    Post subject: Re: Text get wrapped
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    Post subject:
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

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Tue Jun 13, 2006 11:19 pm    Post subject: Re: Text get wrapped
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    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1