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
 

 

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: 8117
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 Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm


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