Carriage Return

Conley, Steve SConley@VICTORIA.COM
Tue, 5 May 1998 14:38:48 -0400


Mark the problem is that the flat file you are creating is without
carriage_control=none.  If you create your file before processing with
carriage_control = carriage_return (below) then this will give the desired
effect you are looking for.

Steve Conley VSS


RECORD
        BLOCK_SPAN              yes
        CARRIAGE_CONTROL        carriage_return
        FORMAT                  fixed
        SIZE                    4


> -----Original Message-----
> From:	Stewart, Mark [SMTP:MStewart@VICTORIA.COM]
> Sent:	Tuesday, May 05, 1998 1:09 PM
> To:	'Powerh-l'
> Subject:	Carriage Return
> 
> 
> 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
> 
> 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.
> 
> I need the following in the data file:
> 
> 0001
> 0002
> 
> I don't like to use escape sequence unless it's needed.  In this example
> PowerHouse is not doing what I expected it to do.  I'm using the EVE
> editor
> on the VAX.  I was thinking about using CNTRL/V and hitting enter which
> gives you a tiny CR.  Define D_CARRIAGE_RET to "CR" and using the vms SET
> FILE command to somewhere remove the carriage returns at that point.  The
> entire file needs a stagnate header, repeating detail, and a stagnate
> trailer.  The file must be converted to EBCIDIC later on but that's
> another
> story.
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> 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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.