Carriage Return

Chris.Sharman@ccagroup.co.uk Chris.Sharman@ccagroup.co.uk
Wed, 06 May 1998 10:06:51 GMT


>I coded the following:
>
>SUBFILE HEADER PORTABLE KEEP NODICTIONARY AT T_ADD_ONCE                 & 
>   ALIAS TEST                                                           &
>   INCLUDE                                                              &
>   T_HDR_REC_001
>
>SUBFILE HEADER PORTABLE      NODICTIONARY AT T_ADD_ONCE                 &
>   APPEND ALIAS TEST2                                                   &
>   INCLUDE                                                              &
>   T_HDR_REC_002

I've not used portable subfiles much, but with standard subfiles it's certainly
an absolute requirement that the two different records are the same length.

>T_HDR_REC_002 IS CHAR*16
>
>I get the following in the data file. 
>
>0001            0002 
>
>I thought using the append would stick on another record but it actually
>appended to the existing record.

You did mention VMS ? Presumeably using TYPE ? You *have* probably got two
records, but in a file with carriage control NONE. Use SET FILE/ATTR=RAT:CR,
or Joe Meadows FILE utility if you're on an early version of VMS. This will
change the file attributes permanently, and Powerhouse won't care.
DIR/FULL will give you more useful info on the file structure.
______________________________________________________________________
Chris Sharman			Chris.Sharman@CCAgroup.co.uk
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.