Chapter Contents

Previous

Next
Moving and Accessing SAS Files across Operating Environments

Listing OpenVMS System File Attributes

To list the attributes of a file created on an OpenVMS VAX system, issue this command:

DIR/FULL transport-file

Typical output is:

   Directory DISK01:[JOE.XPTTEST]
   
   XPTLIB.DAT;1                  File ID: 31223,952,0)         
   Size:            7/8          Owner:  [DISK01,JOE]
   Created:   30-SEP-1999 16:47:31.34
   Revised:   30-SEP-1999 16:47:31.69 (1)
   Expires:  <No backup recorded>
   Effective: <None specified> 
   Recording: <None specified>
   File organization: Sequential
   Shelved state:      Online 
   File attributes:    Allocation: 8, Extend: 0, 
      Global buffer count: 0   Version limit: 2
  [1] Record format:Fixed length 80 byte records
  [2] Record attributes:  None
   RMS attributes:     None
   Journaling enabled: None
   File protection:    System:RWED, Owner:RWED,
      Group:RE, World:
   Access Cntrl List:  None
   
   Total of 1 file, 7/8 blocks.
   $ dir/size xptlib.dat
   
   Directory DISK01:[JOE.XPTTEST]
   
   XPTLIB.DAT;1               7
   
   Total of 1 file, 7 blocks.
   
  1. The OpenVMS VAX RECORD FORMAT attribute indicates a fixed record type and an 80-byte record size. These values are required for a successful file transfer across the network. You specify block size by using FTP or the FTP option in the FILENAME statement.

    An OpenVMS Alpha system RECORD FORMAT should indicate a record length of 512 bytes.

  2. The RECORD ATTRIBUTES field could contain the value NONE.
    CAUTION:
    If this field contains CARRIAGE RETURN CARRIAGE CONTROL, file corruption results. To prevent corruption before you transfer the transport file, remove this value from the RECORD ATTRIBUTES field. An error message alerts you to this condition after you attempt to transfer the corrupted file.   [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.