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
 

 

How to FTP french characters using ZIPVSE or any utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to FTP french characters using ZIPVSE or any utility
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 29, 2010 8:17 pm    Post subject:
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    Post subject: Reply to: How to FTP french characters using ZIPVSE or any u
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

Site Director


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

PostPosted: Thu Dec 30, 2010 10:51 am    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Dec 30, 2010 5:28 pm    Post subject:
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    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 07, 2011 4:19 pm    Post subject:
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 http://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: 1755
Location: Bloomington, IL

PostPosted: Fri Jan 07, 2011 5:15 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jan 07, 2011 8:55 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jan 07, 2011 9:01 pm    Post subject:
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    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 DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm


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