IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP of french characters in a txt file from PC to mainframe


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naresh54

New User


Joined: 09 Sep 2014
Posts: 1
Location: CANADA

PostPosted: Thu Nov 12, 2015 8:12 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 12, 2015 10:37 am
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Nov 12, 2015 3:23 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top