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
 
ANSI characters to readable format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
krithikaj

New User


Joined: 10 Aug 2008
Posts: 45
Location: India

PostPosted: Mon Feb 23, 2009 3:13 pm    Post subject: ANSI characters to readable format
Reply with quote

Hi,

I would like to know if there is any way to convert ANSI characters from the input dataset (PS) to readable format using any utilities in JCL . Output would be in PS dataset.

Thanks,
K J
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Mon Feb 23, 2009 3:19 pm    Post subject:
Reply with quote

I guess everything on mainframe is in EBCDIC.

Please explain your requirement.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Feb 23, 2009 3:35 pm    Post subject:
Reply with quote

With examples of your input and what you want as output.
Back to top
View user's profile Send private message
krithikaj

New User


Joined: 10 Aug 2008
Posts: 45
Location: India

PostPosted: Tue Feb 24, 2009 4:23 pm    Post subject: Re:ANSI characters to readable format
Reply with quote

Thanks for the reply.

But, Ireally dont understand what the PS has. The Input dataset has these ANSI data that is goin to UNIX box for some processing. (The data is converted to ANSI from EBCDIC using C++ and COBOL program.).

Please let me know for more details.

Thanks
K J
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Feb 24, 2009 5:05 pm    Post subject:
Reply with quote

Do you mean the file is in ANSI ASCII, or do you mean the file is converted from EBCDIC to ASCII (ANSI is not exactly ASCII -- the characters map differently)?

You could use the Unix System Services (USS) editor to view the ASCII file directly, or use USS iconv command to convert back to EBCDIC to view, or download in binary to a PC and use a text editor to view the data ... perhaps if you can clarify what you're looking for?
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

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