HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- ADD EXPORT/OPTION=DATA_CONVERSION not OK
Operating System - OpenVMS
1827889
Members
1767
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 12:14 AM
05-11-2006 12:14 AM
ADD EXPORT/OPTION=DATA_CONVERSION not OK
I would like to share textfiles created on my OpenVMS system with my windows environment using TCP/IP NFS and MS Services for Unix (SFU). All works fine except for the fact that I have problems with incompatible CR/LF between OpenVMS and Windows. According to the documentation the export option DATA_CONVERSION should solve this, but it does not. Specifying DATA_CONVERSION or NODATA_CONVERSION gives the same result.
I tried this on OpenVMS VAX 6.2 UCX 4.2 ECO5 and OpenVMS Alpha V7.3-2 TCP/IP V5.4 ECO5. Results are the same.
Any ideas?
I tried this on OpenVMS VAX 6.2 UCX 4.2 ECO5 and OpenVMS Alpha V7.3-2 TCP/IP V5.4 ECO5. Results are the same.
Any ideas?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 12:38 AM
05-11-2006 12:38 AM
Re: ADD EXPORT/OPTION=DATA_CONVERSION not OK
What are the attributes (DIRE /FULL) of a
problem file on the VMS system? What were
you expecting to happen, and what did happen?
What in the documentation led you to expect
what you expect?
As I read the HELP, I'd expect the NFS
server to convert, say, a variable-length
record format to UNIX-friendly stream-LF,
but I would not expect it to convert
anything to a PC-friendly stream format (with
CR-LF line endings).
"Stream formats are returned unconverted."
Were you expecting the NFS server to convert
a file with LF line endings to CR-LF line
endings?
problem file on the VMS system? What were
you expecting to happen, and what did happen?
What in the documentation led you to expect
what you expect?
As I read the HELP, I'd expect the NFS
server to convert, say, a variable-length
record format to UNIX-friendly stream-LF,
but I would not expect it to convert
anything to a PC-friendly stream format (with
CR-LF line endings).
"Stream formats are returned unconverted."
Were you expecting the NFS server to convert
a file with LF line endings to CR-LF line
endings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 01:34 AM
05-11-2006 01:34 AM
Re: ADD EXPORT/OPTION=DATA_CONVERSION not OK
Thanks for your fast response.
Yes, I expect a sequential file, variable length, carrage return carriage control to be converted. (Not Stream LF)
This is how I create a textfile:
$create test.txt
thisisline1
thisisline2
thisisline3
^Z
DIR/FULL gives:
Directory DKB400:[DIRDEW]
TEST.TXT;4 File ID: (8706,1,0)
Size: 1/3 Owner: [TCPIP,TCPIP$NOBODY]
Created: 10-MAY-2006 15:03:46.80
Revised: 10-MAY-2006 15:04:02.80(1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 3, Extend: 0, Global buffer count: 0
No version limit
Record format: Variable length, maximum 0 bytes, longest 11 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWED, World:RWED
Access Cntrl List: None
Client attributes: None
Opening this file on windows gives all 3 lines on the same line (no CR/LF)
Yes, I expect a sequential file, variable length, carrage return carriage control to be converted. (Not Stream LF)
This is how I create a textfile:
$create test.txt
thisisline1
thisisline2
thisisline3
^Z
DIR/FULL gives:
Directory DKB400:[DIRDEW]
TEST.TXT;4 File ID: (8706,1,0)
Size: 1/3 Owner: [TCPIP,TCPIP$NOBODY]
Created: 10-MAY-2006 15:03:46.80
Revised: 10-MAY-2006 15:04:02.80(1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 3, Extend: 0, Global buffer count: 0
No version limit
Record format: Variable length, maximum 0 bytes, longest 11 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWED, World:RWED
Access Cntrl List: None
Client attributes: None
Opening this file on windows gives all 3 lines on the same line (no CR/LF)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 05:06 AM
05-11-2006 05:06 AM
Re: ADD EXPORT/OPTION=DATA_CONVERSION not OK
> no CR/LF
But it is converting from the embedded byte
counts in a variable-length-format file to
LF line endings, right? (And these would be
just fine on a non-Windows system, like, say,
UNIX, right?)
I don't think that you can persuade the NFS
server to convert anything to CR-LF line
endings for you.
Better software on the Windows side?
ASCII-mode FTP transfers should fix the line
endings, but why should an NFS server? It
won't swap bytes around for little-endian
versus big-endian, either.
But it is converting from the embedded byte
counts in a variable-length-format file to
LF line endings, right? (And these would be
just fine on a non-Windows system, like, say,
UNIX, right?)
I don't think that you can persuade the NFS
server to convert anything to CR-LF line
endings for you.
Better software on the Windows side?
ASCII-mode FTP transfers should fix the line
endings, but why should an NFS server? It
won't swap bytes around for little-endian
versus big-endian, either.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP