Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, 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: 4649
Location: Raleigh, 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: 4649
Location: Raleigh, 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: 4649
Location: Raleigh, 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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts Only text from varchar Seppe DB2 8 Thu Apr 21, 2016 10:42 pm
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us