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

How to FTP french characters using ZIPVSE or any utility


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mandyaharsha

New User


Joined: 16 May 2009
Posts: 12
Location: Bangalore

PostPosted: Wed Dec 29, 2010 8:04 pm
Reply with quote

Hi All,

I am trying to FTP a set of french characters as mentioned below from a queue to a particular SITE:

*******************************
TESTING FRENCH CHARACTERS - FTP

ê ë è é É Â Ä À Á â ä à á Ç
î ï ç

END OF TEST
*******************************

P.S : I am working in VSE environment not MVS.


Below is the JECL used:

* $$ JOB JNM=MAH014N1,USER=9900.0000.TECH
// JOB MAH014N1 / STEP001 / FTP / FTP PWR LST QUE'S TO FICHE
* $$ LST CLASS=V,RBS=0,DEST=(,xxxx)
* CLASS=P SEARCH=TEST-FR*
// EXEC PROC=FTP
// EXEC FTPBATCH,SIZE=FTPBATCH,PARM='ID=01'
SET TRANSLATE ON
LOPEN

Edited by moderator to remove site details.

LCD POWER\LST\P
LDIR TEST-FR*
QUOTE SITE TRANS=FRANCE_01
MPUT TEST-FR* TEST_FR.TXT
DIR
/*
/*
/&

But the FTP'd characters are different as mentioned:

@@@ãÅâãÉÕÇ@ÆÙÅÕÃÈ@ÃÈÁÙÁÃãÅÙâ@`@Æã×@@@R@S@T@Q@q@b@c@d@e@B@C@D@E@h@V@W@H@@@ÅÕÄ@ÖÆ@ãÅâã

Could you please tell me how we can get the data same as INPUT or will VSE os will not support this!!

Thank you!

Regards,
Harsha

[/b]
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: Wed Dec 29, 2010 8:17 pm
Reply with quote

You need to find out -- some of this from your site support group -- what the source code page is, what the translation table in use is, and which code page your translation should be using. You will then need to change your FTP to use the appropriate code page translation.
Back to top
View user's profile Send private message
mandyaharsha

New User


Joined: 16 May 2009
Posts: 12
Location: Bangalore

PostPosted: Thu Dec 30, 2010 10:24 am
Reply with quote

Hi Robert,

I am from the support team ,since we didn't get the reason for this mismatch in the input and output data.I contacted Technical expertise still his suggestions didn't work so I posted the issue here.I have tried all the possible options i.e., modifications in the JECL and I did the changes with the help of FTP reference docs but still there is no proper output.

Is there a way you can help me???

Thank you!

Regards,
Harsha
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 30, 2010 10:51 am
Reply with quote

Hello,

The incorrect output you posted looks like what happens when there is a mix-up between ascii and binary. Try specifying one and then the other to see if this changes the output.

As Robert mentioned, there may be the need to specify the proper code page for your environment.
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 Dec 30, 2010 5:28 pm
Reply with quote

Research SBDATACONN in the Communications Server User's Guide manual section 5.34. Also reference section 4.5.1 in this manual.
Back to top
View user's profile Send private message
mandyaharsha

New User


Joined: 16 May 2009
Posts: 12
Location: Bangalore

PostPosted: Fri Jan 07, 2011 4:06 pm
Reply with quote

Hi All,

This time I made some minute changes in the JECL and below is the script :

// EXEC FTPBATCH,SIZE=FTPBATCH,PARM='ID=01'
LOPEN

Edited by moderator to remove site details.

LCD POWER\LST\P
LDIR TEST-FR*
BIN
MPUT TEST-FR* TEST_FR.TXT
DIR
/*
/*
/&

I removed the TRANSLATE option ..Now I am getting the output ,but there is some formatting issue which I am not able to fix it . I mean I am not add a specific COMMAND which will sort out this formatting issue.

My Input Data :
************
TESTING FRENCH CHARACTERS - FTP

ê ë è é É Â Ä À Á â ä à á Ç
î ï ç

END OF TEST


Relevant Output data:
******************

TESTING FRENCH CHARACTERS - FTP ª œ Û © ˆ ß Ü š Ý á € ë   ™ ã « END OF TEST

I googled a lot to find the "Communication User guide manual" but didn't find any and I tried in this forum too..Could you please share me the link for the same if you have or suggest me something to fix this formatting issue.

Thank You!

Regards,
Harsha
----------------------------------------------
I know you guys are best ~


icon_idea.gif
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: Fri Jan 07, 2011 4:19 pm
Reply with quote

When you need IBM manuals, don't use Google -- go to the IBM web site and use their search function. The link you can use is publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/F1A1BKB0

Even better, start building your own set of links to manuals, or work with your site support group to find out where they store the IBM manuals and you won't even have to go to the IBM web site.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Fri Jan 07, 2011 5:15 pm
Reply with quote

Robert Sample wrote:
work with your site support group to find out where they store the IBM manuals

Probably on the IBM web site icon_rolleyes.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jan 07, 2011 8:55 pm
Reply with quote

Hello,

FWIW - nearly every site i've supported (since the manuals have been made easily available online) have downloaded the manuals to some drive on their local lan. They put all of the technical documentation in "one place" for ease of use. Periodically, they refresh the local copy.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jan 07, 2011 9:01 pm
Reply with quote

Follow on:

One thing you might try is creating a file that has all of the possible hex values - like:
Code:
hex table                                 
88A4A88984444444444444444444444444444444444
8570312350000000000000000000000000000000000
-------------------------------------------
                                  00 - 0F 
0404040404040404040404040404040444FF464FC44
00102030405060708090A0B0C0D0E0F000000000600
-------------------------------------------
                                  10 - 1F 
1414141414141414141414141414141444FF464FC44
00102030405060708090A0B0C0D0E0F000100001600
-------------------------------------------
                                  20 - 2F 
2424242424242424242424242424242444FF464FC44
00102030405060708090A0B0C0D0E0F000200002600
-------------------------------------------
                                  30 - 3F 
3434343434343434343434343434343444FF464FC44
00102030405060708090A0B0C0D0E0F000300003600
continuing thru x'FF'.

FTP this file to the target system and make sure the values are intact (They chould be).

Then deal with the "French" issue separately.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts REASON 00D70014 in load utility DB2 6
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Count the number of characters in a f... CA Products 1
Search our Forums:

Back to Top