I regularly mounted files between MVS and z/Linux and the translation 
(ASCII/EBCDIC) takes place automagically.  I believe that the NFS server also 
takes care of the NL/CFLF issues - but its been a while since I looked into the 
setup. I think the key will be to use the MVS system as the NFS server and the 
Linux system as the client.

Jerry Whitteridge
Lead Systems Programmer
Safeway Inc.
925 951 4184

If you feel in control
you just aren't going fast enough.


-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Lester, 
Doug
Sent: Monday, September 17, 2012 2:03 PM
To: [email protected]
Subject: Accessing MVS datasets via NFS on z/Linux

I'm trying to find a better way to access an MVS EBCDIC fixed block
sequential dataset via NFS from SLES10 SP4 z/Linux. 

The problem is two-fold: 

1) The file needs to be converted to ASCII. I can use "iconv" to solve
the EBCDIC to ASCII translation, but I was hoping that someone might
know how to do this via NFS.

2) The MVS format is FB, LRECL=80 so there is no line feed character and
the whole file ends up on a single line. Other than writing a script to
parse the file, is there a way to have NFS recognize it's attributes?

Thanks,

Doug Lester
Information Technology
office 541 864 2840
[email protected]
Harry and David Operations, Inc.
2500 S Pacific Hwy, Medford OR 97501







----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


"Email Firewall" made the following annotations.
------------------------------------------------------------------------------

Warning: 
All e-mail sent to this address will be received by the corporate e-mail 
system, and is subject to archival and review by someone other than the 
recipient.  This e-mail may contain proprietary information and is intended 
only for the use of the intended recipient(s).  If the reader of this message 
is not the intended recipient(s), you are notified that you have received this 
message in error and that any review, dissemination, distribution or copying of 
this message is strictly prohibited.  If you have received this message in 
error, please notify the sender immediately.   
 
==============================================================================

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to