- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SETTING FIX LENGTHS
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
11-09-2005 11:58 PM
11-09-2005 11:58 PM
SETTING FIX LENGTHS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:23 AM
11-10-2005 12:23 AM
Re: SETTING FIX LENGTHS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:23 AM
11-10-2005 12:23 AM
Re: SETTING FIX LENGTHS
?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:32 AM
11-10-2005 12:32 AM
Re: SETTING FIX LENGTHS
%EXCHANGE-I-NOTVALLEN, fixed record length of 680 is too large
%EXCHANGE-I-NOTCOPIED, file B001057.DAT;230 not copied to IAN:
Cheers,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:40 AM
11-10-2005 12:40 AM
Re: SETTING FIX LENGTHS
Why are you using exchange? It may be the right tool, but then you should be able to explain to us why.
If you have a good reason to use EXCHANGE then you may need to use the /TRANSFER_MODE to make it do the rigth thing.
What does the input look like? no recognizable records? Is it 'dense' data? Any allignment between records? sizes?
Can you make the input look good by just declaring the file SET FILE/ATTR=(RFM=FIX, LRL=680, MRS=680, RAT=CR), then use copy?
Can you just use CONVERT/FDL/TRUN/PAD
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 01:46 AM
11-10-2005 01:46 AM
Re: SETTING FIX LENGTHS
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 02:07 AM
11-10-2005 02:07 AM
Re: SETTING FIX LENGTHS
In "our" jargon:
$ SET FILE/ATTR=(RFM=FIX, LRL=680, MRS=680, RAT=CR) dtf_save:b001057.dat
$ = standard DCL prompt, just the location where to enter your commands.
I can advise to use the HELP command, and read through the user guide and DCL manual, to start with :-)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 02:33 AM
11-10-2005 02:33 AM
Re: SETTING FIX LENGTHS
SET FILE/ATTR did not officialy exist (there always was fileset), when excahnge was crafted.
But before doing so please spend a little time trying to understand the input file format better.
Start with a DIR/FULL (report here?)
You probably also want to report the individual attributes you are likely to change with SET FILE.
$rat = F$FILE(myfile,"RAT")
$mrs = F$FILE(myfile,"MRS")
:
LRL, RFM,
You probably want to DUMP/BLOCK=COUNT=3 'myfile.
This will give you a visual check as to the contents of the input stream.
If you want to share that dump with us, ten do not just include it, but attach it and other pertinent information as a text file to a future reply.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 02:39 AM
11-10-2005 02:39 AM
Re: SETTING FIX LENGTHS
review the first question by Hein:
(And believe me, Hein is THE world expert in file structures details!)
Do you really NEED EXCHANGE?
If so, Why?
If we know that, we might also be able to use other means to get the desired result!
Proost.
Have one on me.
jpe