View previous topic :: View next topic
|
Author |
Message |
naresh54
New User
Joined: 09 Sep 2014 Posts: 1 Location: CANADA
|
|
|
|
Hi,
Ihave a request to process the text file placed by user in the mainframe.
the file is placed in a LAN folder where i am going to pick it up by a mainframe job and process the file for storing certain information in the ADABAS file.
the lan file has french characters like è û ô.
I tried (IBM-1141,ISO8859-1) but it is not working.
could you please help?
Thanks. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
From the IBM documentation, code page IBM-1141 is for Austria / Germany. ISO8859-1 is the standard ASCII code page. I suspect neither is precisely what you want.
Your post is not clear. Are you using FTP to transfer the data? Is the data coming from a LAN and going to the mainframe, or are you placing a mainframe data set in a LAN folder? How are you translating the data?
While we may be able to help you on this forum, you most likely will get faster and more accurate help from your site support group, since they can pull up the data and look at it (and presumably can look at the LAN file as well).
Saying something "is not working" (as you did in your post) is completely useless -- it conveys absolutely no useful information. Possible meanings include (but are not limited to):
- the file transfer is failing with some code
- the file transfer is working but the data is not translated correctly
- the file transfer is working and the data is translated but Adabas cannot load it
- the file transfer starts but then fails with some code
- the file transfer never starts
- some program you haven't mentioned that is critical to the process is getting an abend
etc
etc
etc
If you want to tell us about what isn't working, tell us exactly what you are doing, exactly what the results were, and exactly why the results did not meet expectations. Yes, this requires more work (and thinking) than saying something "is not working" -- but at least we have a clue what you are talking about then. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Write a small program (or possibly SORT can do it) to translate all characters to their (closest) equivalents on z/OS...
I have files that contain old IBM codepage 437 data and after the transfer an edit macro (we're talking about small files) will translates them into z/OS equivalents. Another macro reverses the process before the transfer back, which is a bit more complicated, as it has to translate '+' characters into one of nine different characters to restore the CP 437 box characters.
Same macro's can handle both FTP'd as well as IND$FILE'd uploaded data using a long series of 0xC4 (horizontal box character) to detect which method was used to upload the data |
|
Back to top |
|
|
|